Charge\discharge items on server side only. Should fix #1822

This commit is contained in:
drcrazy 2019-08-30 15:15:47 +03:00
parent 7c4564b5ab
commit adebb34a03

View file

@ -66,6 +66,9 @@ public class EnergyStorageBlockEntity extends PowerAcceptorBlockEntity
@Override
public void tick() {
super.tick();
if (world.isClient) {
return;
}
if (!inventory.getInvStack(0).isEmpty()) {
ItemStack stack = inventory.getInvStack(0);