instead of itemid use the Item system hash. for hash generation purposes should improve lookup type stuff.

This commit is contained in:
AlgorithmX2
2014-07-02 00:06:44 -05:00
parent a0c15025b7
commit 98f83ad5e4
2 changed files with 7 additions and 5 deletions
+1 -2
View File
@@ -57,8 +57,7 @@ public final class AEItemStack extends AEStack<IAEItemStack> implements IAEItemS
if ( is == null )
throw new RuntimeException( "Invalid Itemstack." );
def = new AEItemDef();
def.item = is.getItem();
def = new AEItemDef( is.getItem() );
if ( def.item == null )
throw new RuntimeException( "This ItemStack is bad, it has a null item." );