mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 04:09:43 +00:00
Cleanup of common constructs
This commit is contained in:
1 parent
31f193be2c
commit
d7f9eb05fe
36 files changed
+160
-246
No files matched your search
@@ -108,7 +108,7 @@ public class BlockSpawnGuard extends AbstractMachineBlock<TileSpawnGuard> {
|
||||
@SideOnly(Side.CLIENT)
|
||||
@Override
|
||||
public void randomDisplayTick(World world, int x, int y, int z, Random rand) {
|
||||
if(isActive(world, x, y, z) && world.getTotalWorldTime() % 5 == 0) {
|
||||
if(isActive(world, x, y, z) && shouldDoWorkThisTick(world, x, y, z, 5)) {
|
||||
float startX = x + 1.0F;
|
||||
float startY = y + 0.85F;
|
||||
float startZ = z + 1.0F;
|
||||
|
||||
Reference in new issue
Block a user