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:
@@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user