Small deconstructor

This commit is contained in:
Anuken
2021-12-06 14:30:54 -05:00
parent c4dc6511fd
commit 26692a3199
14 changed files with 30 additions and 8 deletions

View File

@@ -445,7 +445,7 @@ public class PlacementFragment extends Fragment{
}
boolean unlocked(Block block){
return block.unlockedNow() && block.placeablePlayer && (state.rules.hiddenBuildItems.isEmpty() || !Structs.contains(block.requirements, i -> state.rules.hiddenBuildItems.contains(i.item)));
return block.unlockedNow() && block.placeablePlayer && block.environmentBuildable();
}
boolean hasInfoBox(){