Overflow duct

This commit is contained in:
Anuken
2021-11-18 14:47:33 -05:00
parent 6026beb397
commit 275f6eb32f
10 changed files with 174 additions and 5 deletions

View File

@@ -23,6 +23,13 @@ abstract class BlockUnitComp implements Unitc{
set(tile);
}
@Override
public void add(){
if(tile == null){
throw new RuntimeException("Do not add BlockUnit entities to the game, they will simply crash. Internal use only.");
}
}
@Override
public void update(){
if(tile != null){