diff options
Diffstat (limited to 'src/main/java/lv/enes/mc/eris_alchemy/block')
| -rw-r--r-- | src/main/java/lv/enes/mc/eris_alchemy/block/entity/EnergyCondenserEntity.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/lv/enes/mc/eris_alchemy/block/entity/EnergyCondenserEntity.java b/src/main/java/lv/enes/mc/eris_alchemy/block/entity/EnergyCondenserEntity.java index 105e9e3..0aa14fe 100644 --- a/src/main/java/lv/enes/mc/eris_alchemy/block/entity/EnergyCondenserEntity.java +++ b/src/main/java/lv/enes/mc/eris_alchemy/block/entity/EnergyCondenserEntity.java | |||
| @@ -95,6 +95,10 @@ public class EnergyCondenserEntity extends ChestLikeEntity implements EmcStorage | |||
| 95 | @Override | 95 | @Override |
| 96 | public void tick(Level world, BlockPos pos, BlockState state) { | 96 | public void tick(Level world, BlockPos pos, BlockState state) { |
| 97 | super.tick(world, pos, state); | 97 | super.tick(world, pos, state); |
| 98 | if (world.isClientSide) { | ||
| 99 | return; | ||
| 100 | } | ||
| 101 | |||
| 98 | var cost = getMaxEmc(); | 102 | var cost = getMaxEmc(); |
| 99 | tryConsumeEmc(cost); | 103 | tryConsumeEmc(cost); |
| 100 | tryCloneTemplate(cost); | 104 | tryCloneTemplate(cost); |