Bugfixes / Added tool to re-format bundles with missing text

This commit is contained in:
Anuken
2018-07-09 11:02:30 -04:00
parent 1e8206757d
commit b7e28a73ba
19 changed files with 5563 additions and 5522 deletions

View File

@@ -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;

View File

@@ -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);

View File

@@ -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;

View File

@@ -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

View File

@@ -60,7 +60,6 @@ public class InventoryModule extends BlockModule{
return true;
}
//TODO optimize!
public int total(){
return total;
}