quick fix : Redundant array creation

This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
1 parent aa1b25c8e5
commit d4ffbd85f4
8 files changed
+19 -23

No files matched your search

@@ -31,7 +31,7 @@ public class SmelteryDamageSource extends DamageSource {
String s1 = s + ".player";
return entityliving1 != null && StatCollector.canTranslate(s1)
? new ChatComponentTranslation(
s1, new Object[] {par1EntityLiving.func_145748_c_(), entityliving1.func_145748_c_()})
: new ChatComponentTranslation(s, new Object[] {par1EntityLiving.func_145748_c_()});
s1, par1EntityLiving.func_145748_c_(), entityliving1.func_145748_c_())
: new ChatComponentTranslation(s, par1EntityLiving.func_145748_c_());
}
}