Cleanup, bugfixes

This commit is contained in:
Anuken
2019-04-19 23:07:21 -04:00
parent f283709e62
commit 9d67c36c32
4 changed files with 10 additions and 12 deletions
@@ -112,10 +112,7 @@ public class Blocks implements ContentList{
part = new BlockPart();
spawn = new Block("spawn"){
public void drawShadow(Tile tile){
}
};
spawn = new Block("spawn");
//Registers build blocks from size 1-6
//no reference is needed here since they can be looked up by name later
@@ -378,8 +375,7 @@ public class Blocks implements ContentList{
darkPanel5 = new Floor("dark-panel-5"){{ variants = 0; }};
darkPanel6 = new Floor("dark-panel-6"){{ variants = 0; }};
darkMetal = new StaticWall("dark-metal"){{
}};
darkMetal = new StaticWall("dark-metal");
pebbles = new OverlayFloor("pebbles");
@@ -281,8 +281,7 @@ public class TechTree implements ContentList{
}
private TechNode node(Block block){
return node(block, () -> {
});
return node(block, () -> {});
}
public static class TechNode{