Made unlocked blocks in campaign reflect host research

This commit is contained in:
Anuken
2024-10-13 22:57:53 -04:00
parent a7c3ce5d8c
commit e2019fd5dc
4 changed files with 7 additions and 4 deletions

View File

@@ -739,8 +739,8 @@ public class PlacementFragment{
}
boolean unlocked(Block block){
return block.unlockedNow() && block.placeablePlayer && block.environmentBuildable() &&
block.supportsEnv(state.rules.env); //TODO this hides env unsupported blocks, not always a good thing
return block.unlockedNowHost() && block.placeablePlayer && block.environmentBuildable() &&
block.supportsEnv(state.rules.env);
}
boolean hasInfoBox(){