mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-23 10:35:15 +01:00
Merge pull request #20 from meiamsome/patch-1
Updated ChestShopSign.java to allow signs with lower-case B and S.
This commit is contained in:
commit
af692eb4f8
@ -40,7 +40,8 @@ public class ChestShopSign {
|
||||
}
|
||||
|
||||
public static boolean isValid(String[] line) {
|
||||
return isValidPreparedSign(line) && (line[2].contains("B") || line[2].contains("S")) && !line[0].isEmpty();
|
||||
return isValidPreparedSign(line) && (line[2].toUpperCase().contains("B") || line[2].toUpperCase().contains("S")) && !line[0].isEmpty();
|
||||
|
||||
}
|
||||
|
||||
public static boolean isValid(Block sign) {
|
||||
|
Loading…
Reference in New Issue
Block a user