A few fixes
This commit is contained in:
parent
33ff01b436
commit
a32d6f4953
2 changed files with 60 additions and 58 deletions
|
@ -58,11 +58,11 @@ public class LaserManager
|
|||
if(!e.isImmuneToFire())
|
||||
{
|
||||
e.setFire((int)(energy / 1000));
|
||||
}
|
||||
|
||||
if(energy > 256)
|
||||
{
|
||||
e.attackEntityFrom(DamageSource.onFire, (float)energy/1000F);
|
||||
}
|
||||
e.attackEntityFrom(DamageSource.generic, (float)energy/1000F);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -59,6 +59,7 @@ public class ThreadMinerSearch extends Thread
|
|||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
if(tileEntity.xCoord == x && tileEntity.yCoord == y && tileEntity.zCoord == z)
|
||||
{
|
||||
continue;
|
||||
|
@ -118,6 +119,7 @@ public class ThreadMinerSearch extends Thread
|
|||
found++;
|
||||
}
|
||||
}
|
||||
} catch(Exception e) {}
|
||||
}
|
||||
|
||||
state = State.FINISHED;
|
||||
|
|
Loading…
Reference in a new issue