Fix typo in ofBlockUnlocalizedName

also added standard way of toggling debug mode pogrammatically
This commit is contained in:
Glease committed 2021-08-01 03:07:51 +08:00
1 parent f1f6dae00f
commit b086a65828
3 files changed
+10 -2

No files matched your search

@@ -120,4 +120,12 @@ public class StructureLibAPI {
public static Item getItemBlockHint() {
return StructureLib.itemBlockHint;
}
public static boolean isDebugEnabled() {
return StructureLib.DEBUG_MODE;
}
public static void setDebugEnabled(boolean enabled) {
StructureLib.DEBUG_MODE = enabled;
}
}