mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-12-24 17:17:49 +01:00
Fix uppercasing the wrong things
This commit is contained in:
parent
715702d2bb
commit
abdbcc15e1
@ -55,13 +55,12 @@ public class ItemChecker implements Listener {
|
||||
code = code.substring(0, MAXIMUM_SIGN_LETTERS - data.length());
|
||||
}
|
||||
|
||||
code += data;
|
||||
|
||||
if (!isSameItem(code, item)) {
|
||||
code = String.valueOf(item.getTypeId()) + data;
|
||||
if (!isSameItem(code + data, item)) {
|
||||
code = String.valueOf(item.getTypeId());
|
||||
}
|
||||
|
||||
code = StringUtil.capitalizeFirstLetter(code);
|
||||
code += data;
|
||||
|
||||
event.setSignLine(ITEM_LINE, code);
|
||||
}
|
||||
|
@ -2,7 +2,7 @@ name: ChestShop
|
||||
|
||||
main: com.Acrobot.ChestShop.ChestShop
|
||||
|
||||
version: 3.50 t0048
|
||||
version: 3.50 t0049
|
||||
|
||||
#for CButD
|
||||
dev-url: http://dev.bukkit.org/server-mods/chestshop/
|
||||
|
Loading…
Reference in New Issue
Block a user