This commit is contained in:
Anuken 2020-10-09 15:18:13 -04:00
parent 81633dace4
commit 7da400608c
2 changed files with 5 additions and 4 deletions

View File

@ -110,8 +110,6 @@ public class TechTree implements ContentList{
node(Items.coal, with(Items.lead, 3000), () -> {
node(Items.graphite, with(Items.coal, 1000), () -> {
node(illuminator, () -> {
});
node(graphitePress, () -> {
node(Items.titanium, with(Items.graphite, 6000, Items.copper, 10000, Items.lead, 10000), () -> {
@ -230,6 +228,9 @@ public class TechTree implements ContentList{
});
});
});
node(illuminator, () -> {
});
});
});

View File

@ -318,8 +318,8 @@ public class ContentParser{
private <T extends Content> TypeParser<T> parser(ContentType type, Func<String, T> constructor){
return (mod, name, value) -> {
T item;
if(Vars.content.getByName(type, name) != null){
item = (T)Vars.content.getByName(type, name);
if(locate(type, name) != null){
item = (T)locate(type, name);
readBundle(type, name, value);
}else{
readBundle(type, name, value);