mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-12 16:27:37 +00:00
The Bifrost blocks no longer explode into particles when they expire, that was causing lagspikes on large structures.
This commit is contained in:
1 parent
572b7b2d30
commit
c5d2c4e52d
1 file changed
-2
@@ -25,8 +25,6 @@ public class TileBifrost extends TileMod {
|
||||
if(!worldObj.isRemote) {
|
||||
if(ticks <= 0) {
|
||||
worldObj.setBlockToAir(xCoord, yCoord, zCoord);
|
||||
for(int i = 0; i < 4; i++)
|
||||
Botania.proxy.sparkleFX(worldObj, xCoord + Math.random(), yCoord + Math.random(), zCoord + Math.random(), (float) Math.random(), (float) Math.random(), (float) Math.random(), 0.45F + 0.2F * (float) Math.random(), 6);
|
||||
} else ticks--;
|
||||
} else if(Math.random() < 0.1)
|
||||
Botania.proxy.sparkleFX(worldObj, xCoord + Math.random(), yCoord + Math.random(), zCoord + Math.random(), (float) Math.random(), (float) Math.random(), (float) Math.random(), 0.45F + 0.2F * (float) Math.random(), 6);
|
||||
|
||||
Reference in new issue
Block a user