mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2025-12-31 04:46:42 +00:00
Fix ItemAdder reloaded HMCC dozens of times
This commit is contained in:
@@ -31,6 +31,7 @@ public class ItemAdderHook extends ItemHook implements Listener {
|
||||
|
||||
@EventHandler
|
||||
public void onItemAdderDataLoad(ItemsAdderLoadDataEvent event) {
|
||||
if (this.enabled == true) return;
|
||||
this.enabled = true;
|
||||
HMCCosmeticsPlugin.setup();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user