mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +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
@@ -71,7 +71,7 @@ public class TPlayerHandler {
|
||||
}
|
||||
}
|
||||
|
||||
if (player.getDisplayName().toLowerCase().equals("fractuality")) {
|
||||
if (player.getDisplayName().equalsIgnoreCase("fractuality")) {
|
||||
ItemStack pattern = new ItemStack(TinkerTools.woodPattern, 1, 22);
|
||||
|
||||
NBTTagCompound compound = new NBTTagCompound();
|
||||
@@ -86,7 +86,7 @@ public class TPlayerHandler {
|
||||
AbilityHelper.spawnItemAtPlayer(player, pattern);
|
||||
}
|
||||
|
||||
if (player.getDisplayName().toLowerCase().equals("zerokyuuni")) {
|
||||
if (player.getDisplayName().equalsIgnoreCase("zerokyuuni")) {
|
||||
ItemStack pattern = new ItemStack(Items.stick);
|
||||
|
||||
NBTTagCompound compound = new NBTTagCompound();
|
||||
@@ -99,7 +99,7 @@ public class TPlayerHandler {
|
||||
|
||||
AbilityHelper.spawnItemAtPlayer(player, pattern);
|
||||
}
|
||||
if (player.getDisplayName().toLowerCase().equals("zisteau")) {
|
||||
if (player.getDisplayName().equalsIgnoreCase("zisteau")) {
|
||||
spawnPigmanModifier(player);
|
||||
}
|
||||
|
||||
@@ -140,7 +140,7 @@ public class TPlayerHandler {
|
||||
|
||||
AbilityHelper.spawnItemAtPlayer(player, modifier);
|
||||
|
||||
if (player.getDisplayName().toLowerCase().equals("zisteau")) {
|
||||
if (player.getDisplayName().equalsIgnoreCase("zisteau")) {
|
||||
spawnPigmanModifier(player);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user