Bugfixes / Map tweaks

This commit is contained in:
Anuken
2019-02-10 10:20:26 -05:00
parent ccaf888e8b
commit a9778e6e68
3 changed files with 7 additions and 18 deletions
Binary file not shown.
@@ -244,7 +244,6 @@ public class TechTree implements ContentList{
}); });
node(spiritFactory, () -> { node(spiritFactory, () -> {
node(daggerFactory, () -> {
node(daggerFactory, () -> { node(daggerFactory, () -> {
node(titanFactory, () -> { node(titanFactory, () -> {
node(fortressFactory); node(fortressFactory);
@@ -260,7 +259,6 @@ public class TechTree implements ContentList{
}); });
}); });
}); });
});
} }
private TechNode node(Block block, Runnable children){ private TechNode node(Block block, Runnable children){
@@ -32,8 +32,6 @@ public class Separator extends Block{
protected Color color = Color.valueOf("858585"); protected Color color = Color.valueOf("858585");
protected TextureRegion liquidRegion; protected TextureRegion liquidRegion;
protected boolean offloading = false;
public Separator(String name){ public Separator(String name){
super(name); super(name);
update = true; update = true;
@@ -113,9 +111,7 @@ public class Separator extends Block{
} }
if(item != null && entity.items.get(item) < itemCapacity){ if(item != null && entity.items.get(item) < itemCapacity){
offloading = true;
offloadNear(tile, item); offloadNear(tile, item);
offloading = false;
} }
} }
@@ -124,11 +120,6 @@ public class Separator extends Block{
} }
} }
@Override
public boolean canDump(Tile tile, Tile to, Item item){
return offloading || item != consumes.item();
}
@Override @Override
public TileEntity newEntity(){ public TileEntity newEntity(){
return new GenericCrafterEntity(); return new GenericCrafterEntity();