Method renaming for consistency
This commit is contained in:
@@ -499,7 +499,7 @@ public class Block extends UnlockableContent{
|
||||
return variantRegions;
|
||||
}
|
||||
|
||||
public boolean hasEntity(){
|
||||
public boolean hasBuilding(){
|
||||
return destructible || update;
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ public class CachedTile extends Tile{
|
||||
|
||||
Block block = block();
|
||||
|
||||
if(block.hasEntity()){
|
||||
if(block.hasBuilding()){
|
||||
Building n = entityprov.get();
|
||||
n.cons(new ConsumeModule(build));
|
||||
n.tile(this);
|
||||
|
||||
@@ -508,7 +508,7 @@ public class Tile implements Position, QuadTreeObject, Displayable{
|
||||
}
|
||||
}
|
||||
|
||||
if(block.hasEntity()){
|
||||
if(block.hasBuilding()){
|
||||
build = entityprov.get().init(this, team, block.update && !state.isEditor(), rotation);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user