Bugfixes, cleanup
This commit is contained in:
@@ -343,6 +343,7 @@ public class TechTree implements ContentList{
|
||||
public static class TechNode{
|
||||
static TechNode context;
|
||||
|
||||
public TechNode parent;
|
||||
public final Block block;
|
||||
public final ItemStack[] requirements;
|
||||
public final Array<TechNode> children = new Array<>();
|
||||
@@ -352,6 +353,7 @@ public class TechTree implements ContentList{
|
||||
ccontext.children.add(this);
|
||||
}
|
||||
|
||||
this.parent = ccontext;
|
||||
this.block = block;
|
||||
this.requirements = requirements;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user