Changes how building selection keybindings are generated (#6916)
Co-authored-by: Garen7 <Garen7@users.noreply.github.com>
This commit is contained in:
@@ -547,7 +547,7 @@ public class PlacementFragment{
|
|||||||
}
|
}
|
||||||
|
|
||||||
Seq<Block> getByCategory(Category cat){
|
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){
|
Seq<Block> getUnlockedByCategory(Category cat){
|
||||||
|
|||||||
Reference in New Issue
Block a user