Initial support for arbitrary types of content in tech tree

This commit is contained in:
Anuken
2020-05-18 09:40:38 -04:00
parent f290f688d0
commit 3784251108
5 changed files with 35 additions and 26 deletions

View File

@@ -226,7 +226,7 @@ public class SStats implements SteamUserStatsCallback{
Events.on(ResearchEvent.class, e -> {
if(e.content == Blocks.router) researchRouter.complete();
if(!TechTree.all.contains(t -> t.block.locked())){
if(!TechTree.all.contains(t -> t.content.locked())){
researchAll.complete();
}
});