This commit is contained in:
Anuken
2018-12-13 08:37:05 -05:00
parent eab90cac05
commit 2e28525c4b
2 changed files with 3 additions and 3 deletions
@@ -71,7 +71,7 @@ public class TileEntity extends BaseEntity implements TargetTrait, HealthTrait{
}
/**Sets this tile entity data to this tile, and adds it if necessary.*/
public TileEntity init(Tile tile, boolean added){
public TileEntity init(Tile tile, boolean shouldAdd){
this.tile = tile;
x = tile.drawx();
y = tile.drawy();
@@ -80,7 +80,7 @@ public class TileEntity extends BaseEntity implements TargetTrait, HealthTrait{
timer = new Timer(tile.block().timers);
if(added){
if(shouldAdd){
add();
}