Fixed Bug: #1076 - Changing config Crashs NEI Recepie view
This commit is contained in:
parent
c4b8940c1d
commit
9952c1e3da
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue