quick fix : Unnecessary boxing / unboxing

This commit is contained in:
Alexdoru committed 2023-01-25 22:02:09 +01:00
1 parent ddf92e5271
commit 91f0707078
4 files changed
+5 -5

No files matched your search

@@ -401,7 +401,7 @@ public class ArrowEntity extends EntityArrow implements IEntityAdditionalSpawnDa
// TODO is this needed???
// crashreportcategory.addCrashSection("Item ID",
// Integer.valueOf(par1ItemStack.itemID));
crashreportcategory.addCrashSection("Item data", Integer.valueOf(par1ItemStack.getItemDamage()));
crashreportcategory.addCrashSection("Item data", par1ItemStack.getItemDamage());
// crashreportcategory.addCrashSectionCallable("Item name", new
// CallableItemName(this, par1ItemStack));
throw new ReportedException(crashreport);