9
0
mirror of https://github.com/HibiscusMC/HibiscusCommons.git synced 2025-12-19 15:09:26 +00:00

feat: add get enable for ItemsAdder hook

This commit is contained in:
LoJoSho
2023-12-28 19:01:31 -06:00
parent 47437aa0e8
commit ac321a9b5a

View File

@@ -52,4 +52,8 @@ public class HookItemAdder extends Hook {
if (CustomStack.byItemStack(itemStack) == null) return null; if (CustomStack.byItemStack(itemStack) == null) return null;
return CustomStack.byItemStack(itemStack).getId(); return CustomStack.byItemStack(itemStack).getId();
} }
public boolean getIAEnabled() {
return enabled;
}
} }