Fix internal inventory on the client not being updated.

This commit is contained in:
Sebastian Hartte
2020-08-02 20:58:24 +02:00
parent 52ec63413f
commit 3e5787be76
@@ -121,16 +121,6 @@ public class AppEngInternalAEInventory implements FixedItemInv, Iterable<ItemSta
@Override
public boolean setInvStack(int slot, ItemStack to, Simulation simulation) {
if (this.te == null || !Platform.isServer()) {
return false;
}
// FIXME: We need to implement the actual checks here, stacking
// /caninsert/canremove
if (true) {
throw new IllegalStateException();
}
if (simulation == Simulation.SIMULATE) {
return true;
}