mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-27 15:02:03 -08:00
Is this what you wanted sk? (#4848)
This commit is contained in:
parent
efa5c5db7b
commit
3ccdf45ed1
1 changed files with 8 additions and 0 deletions
|
|
@ -625,6 +625,14 @@ public class Block extends UnlockableContent{
|
|||
return cacheLayer == CacheLayer.walls;
|
||||
}
|
||||
|
||||
public void setupRequirements(Category cat, ItemStack[] stacks){
|
||||
requirements(cat, stacks);
|
||||
}
|
||||
|
||||
public void setupRequirements(Category cat, BuildVisibility visible, ItemStack[] stacks){
|
||||
requirements(cat, visible, stacks);
|
||||
}
|
||||
|
||||
public void requirements(Category cat, ItemStack[] stacks, boolean unlocked){
|
||||
requirements(cat, BuildVisibility.shown, stacks);
|
||||
this.alwaysUnlocked = unlocked;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue