181182183184185186187188189190191192193
for (Object o : inventorySlots) { if ( o instanceof OptionalSlotFake ) { OptionalSlotFake fs = (OptionalSlotFake) o; if ( !fs.isEnabled() && fs.getDisplayStack() != null ) fs.clearStack(); } } standardDetectAndSendChanges(); }