]> git.lizzy.rs Git - BoundingBoxOutlineReloaded.git/blobdiff - src/main/java/com/irtimaled/bbor/client/config/BoundingBoxTypeHelper.java
Fully stop needing config on BoundingBoxType
[BoundingBoxOutlineReloaded.git] / src / main / java / com / irtimaled / bbor / client / config / BoundingBoxTypeHelper.java
index 99539e951b654a012e9c7c73c4aa65595fe8861b..b86346e02a20e0a14af29407c81f5abac4d7063b 100644 (file)
@@ -46,6 +46,10 @@ public class BoundingBoxTypeHelper {
         registerType(BoundingBoxType.RuinedPortal, ConfigManager.drawRuinedPortals);
     }
 
+    public static Setting<Boolean> renderSetting(BoundingBoxType type) {
+        return structureTypeMap.get(type.getName());
+    }
+
     public static boolean shouldRender(BoundingBoxType type) {
         Setting<Boolean> setting = structureTypeMap.get(type.getName());
         return setting != null ? setting.get() : false;