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
@@ -47,7 +47,7 @@ public class OptionalSlotFake extends SlotFake
@Nonnull
public ItemStack getStack()
{
if( !this.isEnabled() )
if( !this.isSlotEnabled() )
{
if( !this.getDisplayStack().isEmpty() )
{
@@ -59,7 +59,7 @@ public class OptionalSlotFake extends SlotFake
}
@Override
public boolean isEnabled()
public boolean isSlotEnabled()
{
if( this.host == null )
{