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:
Andrzej Pomirski 2012-08-15 10:04:18 -07:00
commit af692eb4f8

View File

@ -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) {