Charge\discharge items on server side only. Should fix #1822
This commit is contained in:
parent
7c4564b5ab
commit
adebb34a03
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue