Method renaming for consistency

This commit is contained in:
Anuken
2020-09-28 18:32:39 -04:00
parent 6a45a965c0
commit a5b1239c2b
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -499,7 +499,7 @@ public class Block extends UnlockableContent{
return variantRegions;
}
public boolean hasEntity(){
public boolean hasBuilding(){
return destructible || update;
}
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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);
}
}