mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 19:29:31 +00:00
Pure Daisy: Check for the World.isRemote before placing blocks. Closes #679
This commit is contained in:
1 parent
96be37448f
commit
85e47d0984
1 file changed
+2
-1
@@ -65,7 +65,8 @@ public class SubTilePureDaisy extends SubTileEntity {
|
||||
Botania.proxy.sparkleFX(supertile.getWorldObj(), coords.posX + Math.random(), coords.posY + Math.random(), coords.posZ + Math.random(), 1F, 1F, 1F, (float) Math.random(), 5);
|
||||
|
||||
if(ticksRemaining[positionAt] <= 0) {
|
||||
supertile.getWorldObj().setBlock(coords.posX, coords.posY, coords.posZ, output);
|
||||
if(!supertile.getWorldObj().isRemote)
|
||||
supertile.getWorldObj().setBlock(coords.posX, coords.posY, coords.posZ, output);
|
||||
ticksRemaining[positionAt] = 200;
|
||||
|
||||
for(int i = 0; i < 25; i++) {
|
||||
|
||||
Reference in new issue
Block a user