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
@@ -204,7 +204,7 @@ public class ContainerUpgradeable extends AEBaseContainer implements IOptionalSl
if( o instanceof OptionalSlotFake )
{
final OptionalSlotFake fs = (OptionalSlotFake) o;
if( !fs.isEnabled() && !fs.getDisplayStack().isEmpty() )
if( !fs.isSlotEnabled() && !fs.getDisplayStack().isEmpty() )
{
fs.clearStack();
}