Bugfixes
This commit is contained in:
@@ -110,8 +110,6 @@ public class TechTree implements ContentList{
|
|||||||
|
|
||||||
node(Items.coal, with(Items.lead, 3000), () -> {
|
node(Items.coal, with(Items.lead, 3000), () -> {
|
||||||
node(Items.graphite, with(Items.coal, 1000), () -> {
|
node(Items.graphite, with(Items.coal, 1000), () -> {
|
||||||
node(illuminator, () -> {
|
|
||||||
});
|
|
||||||
|
|
||||||
node(graphitePress, () -> {
|
node(graphitePress, () -> {
|
||||||
node(Items.titanium, with(Items.graphite, 6000, Items.copper, 10000, Items.lead, 10000), () -> {
|
node(Items.titanium, with(Items.graphite, 6000, Items.copper, 10000, Items.lead, 10000), () -> {
|
||||||
@@ -230,6 +228,9 @@ public class TechTree implements ContentList{
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
node(illuminator, () -> {
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -318,8 +318,8 @@ public class ContentParser{
|
|||||||
private <T extends Content> TypeParser<T> parser(ContentType type, Func<String, T> constructor){
|
private <T extends Content> TypeParser<T> parser(ContentType type, Func<String, T> constructor){
|
||||||
return (mod, name, value) -> {
|
return (mod, name, value) -> {
|
||||||
T item;
|
T item;
|
||||||
if(Vars.content.getByName(type, name) != null){
|
if(locate(type, name) != null){
|
||||||
item = (T)Vars.content.getByName(type, name);
|
item = (T)locate(type, name);
|
||||||
readBundle(type, name, value);
|
readBundle(type, name, value);
|
||||||
}else{
|
}else{
|
||||||
readBundle(type, name, value);
|
readBundle(type, name, value);
|
||||||
|
|||||||
Reference in New Issue
Block a user