Fixed 32-bit version not working due to Discord integration

This commit is contained in:
Anuken
2018-02-19 11:31:43 -05:00
parent 6f55870a1f
commit cba42d2f19
5 changed files with 30 additions and 22 deletions

View File

@@ -106,7 +106,7 @@ public class TileEntity extends Entity{
@Override
public void update(){
synchronized (tile) {
synchronized (Tile.tileSetLock) {
if (health != 0 && health < tile.block().health && !(tile.block() instanceof Wall) &&
Mathf.chance(0.009f * Timers.delta() * (1f - health / tile.block().health))) {