From 3ccdf45ed1d4f7287da87d5fbdd5eec9b700bbac Mon Sep 17 00:00:00 2001 From: MEEP of Faith <54301439+MEEPofFaith@users.noreply.github.com> Date: Thu, 4 Mar 2021 07:38:47 -0800 Subject: [PATCH] Is this what you wanted sk? (#4848) --- core/src/mindustry/world/Block.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/src/mindustry/world/Block.java b/core/src/mindustry/world/Block.java index 1f3f6ba00a..e40fdbca45 100644 --- a/core/src/mindustry/world/Block.java +++ b/core/src/mindustry/world/Block.java @@ -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;