Skip to content

Commit 233dc54

Browse files
committed
Fix wrong string equal checking for legacy sign
1 parent bf2f57f commit 233dc54

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/org/mvplugins/multiverse/signportals/utils

1 file changed

+1
-1
lines changed

src/main/java/org/mvplugins/multiverse/signportals/utils/SignTools.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class SignTools {
1313
public static boolean isMVSign(String test, ChatColor color) {
1414
if (color == null) {
1515
test = ChatColor.stripColor(test);
16-
return test.toLowerCase().matches("[multiverse]") || test.equalsIgnoreCase("[mv]");
16+
return test.equalsIgnoreCase("[multiverse]") || test.equalsIgnoreCase("[mv]");
1717
}
1818
return test.equalsIgnoreCase(color + "[multiverse]") || test.equalsIgnoreCase(color + "[mv]");
1919
}

0 commit comments

Comments
 (0)