Fix personal chest not properly causing the inventory to save when contents change sometimes on the server
@@ -72,8 +72,15 @@ public class InventoryContainerSlot extends Slot implements IInsertableSlot {
onSlotChanged();
}
+ @Override
+ public void onSlotChanged() {
+ super.onSlotChanged();
+ slot.onContentsChanged();
+ }
+
@Override
public void onSlotChange(@Nonnull ItemStack current, @Nonnull ItemStack newStack) {
+ slot.onContentsChanged();
}
@Override
