Fixed filler respawning striped tape after it gets destroyed.
This commit is contained in:
parent
e5e1ec40ee
commit
eb44f8fab1
1 changed files with 3 additions and 4 deletions
|
@ -73,6 +73,9 @@ public class TileFiller extends TileBuildCraft implements ISpecialInventory, IPo
|
||||||
((TileMarker) a).removeFromWorld();
|
((TileMarker) a).removeFromWorld();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!APIProxy.isClient(worldObj) && box.isInitialized()) {
|
||||||
|
box.createLasers(worldObj, LaserKind.Stripes);
|
||||||
|
}
|
||||||
sendNetworkUpdate();
|
sendNetworkUpdate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -84,10 +87,6 @@ public class TileFiller extends TileBuildCraft implements ISpecialInventory, IPo
|
||||||
public void updateEntity () {
|
public void updateEntity () {
|
||||||
super.updateEntity();
|
super.updateEntity();
|
||||||
|
|
||||||
if (box.isInitialized()) {
|
|
||||||
box.createLasers(worldObj, LaserKind.Stripes);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (done) {
|
if (done) {
|
||||||
if (lastMode == Mode.Loop) {
|
if (lastMode == Mode.Loop) {
|
||||||
done = false;
|
done = false;
|
||||||
|
|
Loading…
Reference in a new issue