mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 13:09:53 +00:00
quick fix : Redundant String operation
This commit is contained in:
1 parent
d4ffbd85f4
commit
14f970318b
3 files changed
+7
-8
No files matched your search
@@ -367,8 +367,7 @@ public class WeaponryHandler {
|
||||
.getTagCompound()
|
||||
.getCompoundTag("display")
|
||||
.getString("Name")
|
||||
.toLowerCase()
|
||||
.equals("banana")) return;
|
||||
.equalsIgnoreCase("banana")) return;
|
||||
event.name =
|
||||
'\u2400' + "Bonæna"; // the \u2400 is a non-printable unicode character so you can't just type it
|
||||
event.headStack = new ItemStack(TinkerTools.swordBlade, 1, TinkerTools.MaterialID.Bone);
|
||||
|
||||
Reference in new issue
Block a user