generated from tilera/1710mod
parent
4b927c39f7
commit
3d0fc6eb71
1 changed files with 2 additions and 1 deletions
|
@ -114,9 +114,10 @@ public abstract class TileExtended extends TileEntity {
|
||||||
super.worldObj.setBlockToAir(super.xCoord, super.yCoord, super.zCoord);
|
super.worldObj.setBlockToAir(super.xCoord, super.yCoord, super.zCoord);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void updateEntity() {
|
public void updateEntity() {
|
||||||
if (!super.worldObj.isRemote && this.timeSched >= 0L) {
|
if (!super.worldObj.isRemote && this.timeSched >= 0L) {
|
||||||
long wtime = super.worldObj.getWorldTime();
|
long wtime = super.worldObj.getTotalWorldTime();
|
||||||
if (this.timeSched > wtime + 1200L) {
|
if (this.timeSched > wtime + 1200L) {
|
||||||
this.timeSched = wtime + 1200L;
|
this.timeSched = wtime + 1200L;
|
||||||
} else if (this.timeSched <= wtime) {
|
} else if (this.timeSched <= wtime) {
|
||||||
|
|
Loading…
Reference in a new issue