Drill changes

This commit is contained in:
Anuken
2022-02-14 16:55:40 -05:00
parent 3d9ab3d9fb
commit 9a2254cccb
2 changed files with 8 additions and 6 deletions

View File

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