quick fix : Unnecessary boxing / unboxing

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