We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f96266 commit 5ce164eCopy full SHA for 5ce164e
src/main/java/org/maxgamer/quickshop/util/language/text/TextManager.java
@@ -141,7 +141,7 @@ public void load() {
141
private boolean localeEnabled(@NotNull String locale, @NotNull List<String> regex){
142
for (String languagesRegex : regex) {
143
try {
144
- if (locale.matches(languagesRegex)) {
+ if (languagesRegex.matches(locale)) {
145
return true;
146
}
147
} catch (PatternSyntaxException exception) {
0 commit comments