Only needs to tick on server.

This commit is contained in:
Florian Nücke
2021-08-05 02:31:11 +02:00
parent f90762d928
commit 334932f20a

View File

@@ -20,6 +20,10 @@ public final class CreativeEnergyTileEntity extends TileEntity implements ITicka
@Override
public void tick() {
if (level.isClientSide()) {
return;
}
for (final Direction side : SIDES) {
final BlockPos neighborPos = getBlockPos().relative(side);
final ChunkPos neighborChunkPos = new ChunkPos(neighborPos);