isValid() workaround

This commit is contained in:
Anuken 2020-04-16 14:26:09 -04:00
parent 2693f9c176
commit 2f3a842f2e

View File

@ -990,6 +990,12 @@ abstract class TileComp implements Posc, Teamc, Healthc, Tilec, Timerc, QuadTree
return null;
}
@Replace
@Override
public boolean isValid(){
return tile.entity == this && !dead();
}
@Override
public void remove(){
if(sound != null){