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