quick fix : Redundant String operation

This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
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);