mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-06 07:30:35 +07:00
Changes how building selection keybindings are generated (#6916)
Co-authored-by: Garen7 <Garen7@users.noreply.github.com>
This commit is contained in:
parent
81753047eb
commit
77a8cfa894
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user