This commit is contained in:
Anuken
2019-10-19 19:11:54 -04:00
parent 2586c53f0d
commit 0faae5d5ca
2 changed files with 25 additions and 7 deletions

View File

@@ -317,9 +317,9 @@ public class TechTree implements ContentList{
return node(block, () -> {});
}
public static void create(Block parent, Block block){
public static TechNode create(Block parent, Block block){
TechNode.context = all.find(t -> t.block == parent);
node(block, () -> {});
return node(block, () -> {});
}
public static class TechNode{