diff --git a/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntityNatureAltar.java b/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntityNatureAltar.java index 8c970d55..1bee9453 100644 --- a/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntityNatureAltar.java +++ b/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntityNatureAltar.java @@ -66,6 +66,18 @@ public class TileEntityNatureAltar extends TileEntityImpl implements ITickable { public void update() { Random rand = this.world.rand; + if (this.world.getTotalWorldTime() % 40 == 0) { + int index = 0; + for (int x = -2; x <= 2; x += 4) { + for (int z = -2; z <= 2; z += 4) { + BlockPos offset = this.pos.add(x, 1, z); + IBlockState state = this.world.getBlockState(offset); + this.catalysts[index] = state.getBlock().getItem(this.world, offset, state); + index++; + } + } + } + if (!this.world.isRemote) { if (this.world.getTotalWorldTime() % 40 == 0) { boolean fine = Multiblocks.ALTAR.isComplete(this.world, this.pos); @@ -73,18 +85,6 @@ public class TileEntityNatureAltar extends TileEntityImpl implements ITickable { this.structureFine = fine; this.sendToClients(); } - - if (this.structureFine) { - int index = 0; - for (int x = -2; x <= 2; x += 4) { - for (int z = -2; z <= 2; z += 4) { - BlockPos offset = this.pos.add(x, 1, z); - IBlockState state = this.world.getBlockState(offset); - this.catalysts[index] = state.getBlock().getItem(this.world, offset, state); - index++; - } - } - } } if (this.structureFine) {