Fixed tests again, locally

This commit is contained in:
Anuken
2019-01-26 13:20:07 -05:00
parent 4be675f977
commit 956448a1a5
6 changed files with 236 additions and 11 deletions
@@ -151,7 +151,7 @@ public class TileEntity extends BaseEntity implements TargetTrait, HealthTrait{
if(health <= 0){
Call.onTileDestroyed(tile);
}else if(preHealth >= maxHealth() - 0.00001f && health < maxHealth()){ //when just damaged
}else if(preHealth >= maxHealth() - 0.00001f && health < maxHealth() && world != null){ //when just damaged
world.indexer.notifyTileDamaged(this);
}
}