mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
quick fix : Unnecessary boxing / unboxing
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user