9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-31 21:06:38 +00:00

Fix ItemAdder reloaded HMCC dozens of times

This commit is contained in:
LoJoSho
2023-02-01 15:15:22 -06:00
parent ff4f2b6ede
commit 4b1c15f46f

View File

@@ -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();
}