Overflow duct
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user