Changes how building selection keybindings are generated (#6916)

Co-authored-by: Garen7 <Garen7@users.noreply.github.com>
This commit is contained in:
Garen7 2022-06-08 09:02:39 -04:00 committed by GitHub
parent 81753047eb
commit 77a8cfa894
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -547,7 +547,7 @@ public class PlacementFragment{
}
Seq<Block> getByCategory(Category cat){
return returnArray.selectFrom(content.blocks(), block -> block.category == cat && block.isVisible());
return returnArray.selectFrom(content.blocks(), block -> block.category == cat && block.isVisible() && block.environmentBuildable());
}
Seq<Block> getUnlockedByCategory(Category cat){