Merge branch 'master' of https://github.com/Anuken/Mindustry into crafting-rework
# Conflicts: # core/src/io/anuke/mindustry/content/Recipes.java
This commit is contained in:
@@ -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 Interval(tile.block().timers);
|
||||
|
||||
if(added){
|
||||
if(shouldAdd){
|
||||
add();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user