Bugfixes / Added tool to re-format bundles with missing text
This commit is contained in:
@@ -94,6 +94,7 @@ public class Fire extends TimedEntity implements SaveTrait, SyncTrait, Poolable
|
||||
if(time >= lifetime() || tile == null){
|
||||
CallEntity.onFireRemoved(getID());
|
||||
remove();
|
||||
return;
|
||||
}
|
||||
|
||||
TileEntity entity = tile.target().entity;
|
||||
|
||||
@@ -73,6 +73,11 @@ public class Recipe implements UnlockableContent{
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isHidden() {
|
||||
return debugOnly;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void displayInfo(Table table) {
|
||||
ContentDisplay.displayRecipe(table, this);
|
||||
|
||||
@@ -6,7 +6,7 @@ import io.anuke.mindustry.world.meta.BlockStats;
|
||||
|
||||
public abstract class Consume {
|
||||
private boolean optional;
|
||||
private boolean update;
|
||||
private boolean update = true;
|
||||
|
||||
public Consume optional(boolean optional) {
|
||||
this.optional = optional;
|
||||
|
||||
@@ -20,9 +20,7 @@ public class ConsumeItems extends Consume {
|
||||
|
||||
@Override
|
||||
public void update(Block block, TileEntity entity) {
|
||||
for(ItemStack stack : items){
|
||||
entity.items.remove(stack);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -60,7 +60,6 @@ public class InventoryModule extends BlockModule{
|
||||
return true;
|
||||
}
|
||||
|
||||
//TODO optimize!
|
||||
public int total(){
|
||||
return total;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user