Merge pull request #284 from tollus/patch-1

Add null check
This commit is contained in:
Nividica committed 2016-04-14 11:37:16 -04:00
commit c5f8ee7e9e
1 file changed
+1 -1
@@ -611,7 +611,7 @@ public class ContainerPartArcaneCraftingTerminal
viewSlot = this.getSlotOrNull( viewSlotIndex );
// Ensure the slot is not empty
if( !viewSlot.getHasStack() )
if( viewSlot == null || !viewSlot.getHasStack() )
{
continue;
}