Is this what you wanted sk? (#4848)
This commit is contained in:
@@ -625,6 +625,14 @@ public class Block extends UnlockableContent{
|
|||||||
return cacheLayer == CacheLayer.walls;
|
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){
|
public void requirements(Category cat, ItemStack[] stacks, boolean unlocked){
|
||||||
requirements(cat, BuildVisibility.shown, stacks);
|
requirements(cat, BuildVisibility.shown, stacks);
|
||||||
this.alwaysUnlocked = unlocked;
|
this.alwaysUnlocked = unlocked;
|
||||||
|
|||||||
Reference in New Issue
Block a user