This commit is contained in:
AlgorithmX2
2014-09-17 11:25:30 -05:00
26 changed files with 606 additions and 838 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ public class ColoredItemDefinition implements AEColoredItemDefinition
{
ItemStackSrc is = colors[color.ordinal()];
if ( comparableItem == null )
if ( comparableItem == null || is == null )
return false;
return comparableItem.getItem() == is.item && comparableItem.getItemDamage() == is.damage;