Fixed an issue where Parts/Blocks would not properly identify them selves with the proper ItemStack.

This commit is contained in:
AlgorithmX2
2014-02-09 01:55:44 -06:00
parent 7367502d75
commit 49da876b6f
9 changed files with 66 additions and 27 deletions
+3 -3
View File
@@ -12,7 +12,7 @@ public class DamagedItemDefinition implements AEItemDefinition
final Item baseItem;
final int damage;
public DamagedItemDefinition(ItemStack is) {
public DamagedItemDefinition(ItemStackSrc is) {
if ( is == null )
{
baseItem = null;
@@ -20,8 +20,8 @@ public class DamagedItemDefinition implements AEItemDefinition
}
else
{
baseItem = is.getItem();
damage = is.getItemDamage();
baseItem = is.item;
damage = is.damage;
}
}