Fixed serversided issue. Forgot to check for uses of isEnabled before changing it to a clientside only method.

This commit is contained in:
Gunther De Wachter
2017-07-13 04:18:33 +02:00
parent eb11845a2f
commit 0f8204cd93
8 changed files with 23 additions and 15 deletions
@@ -56,7 +56,7 @@ public class SlotPatternTerm extends SlotCraftingTerm
@Override
public ItemStack getStack()
{
if( !this.isEnabled() )
if( !this.isSlotEnabled() )
{
if( !this.getDisplayStack().isEmpty() )
{
@@ -68,7 +68,7 @@ public class SlotPatternTerm extends SlotCraftingTerm
}
@Override
public boolean isEnabled()
public boolean isSlotEnabled()
{
if( this.host == null )
{