From d740989a0137fbb19456704a7f2a8720cb6198eb Mon Sep 17 00:00:00 2001 From: LoJoSho Date: Thu, 2 Feb 2023 15:42:28 -0600 Subject: [PATCH] add ia hook comment --- .../com/hibiscusmc/hmccosmetics/hooks/items/ItemAdderHook.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/hibiscusmc/hmccosmetics/hooks/items/ItemAdderHook.java b/common/src/main/java/com/hibiscusmc/hmccosmetics/hooks/items/ItemAdderHook.java index 94de85a7..c1c9d6f6 100644 --- a/common/src/main/java/com/hibiscusmc/hmccosmetics/hooks/items/ItemAdderHook.java +++ b/common/src/main/java/com/hibiscusmc/hmccosmetics/hooks/items/ItemAdderHook.java @@ -31,7 +31,7 @@ public class ItemAdderHook extends ItemHook implements Listener { @EventHandler public void onItemAdderDataLoad(ItemsAdderLoadDataEvent event) { - if (this.enabled) return; + if (enabled) return; // Only run on the first event fired; ignore all rest this.enabled = true; HMCCosmeticsPlugin.setup(); }