Fixed filler respawning striped tape after it gets destroyed.

This commit is contained in:
psxlover 2012-05-27 01:36:01 +03:00
parent e5e1ec40ee
commit eb44f8fab1

View file

@ -73,6 +73,9 @@ public class TileFiller extends TileBuildCraft implements ISpecialInventory, IPo
((TileMarker) a).removeFromWorld();
}
if (!APIProxy.isClient(worldObj) && box.isInitialized()) {
box.createLasers(worldObj, LaserKind.Stripes);
}
sendNetworkUpdate();
}
}
@ -84,10 +87,6 @@ public class TileFiller extends TileBuildCraft implements ISpecialInventory, IPo
public void updateEntity () {
super.updateEntity();
if (box.isInitialized()) {
box.createLasers(worldObj, LaserKind.Stripes);
}
if (done) {
if (lastMode == Mode.Loop) {
done = false;