Skip to content

Commit 5ce164e

Browse files
committed
bug fix
1 parent 0f96266 commit 5ce164e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/maxgamer/quickshop/util/language/text/TextManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public void load() {
141141
private boolean localeEnabled(@NotNull String locale, @NotNull List<String> regex){
142142
for (String languagesRegex : regex) {
143143
try {
144-
if (locale.matches(languagesRegex)) {
144+
if (languagesRegex.matches(locale)) {
145145
return true;
146146
}
147147
} catch (PatternSyntaxException exception) {

0 commit comments

Comments
 (0)