From 500b8ca0ce77812844d1e3c12c8ee84078447a5e Mon Sep 17 00:00:00 2001 From: LoJoSho Date: Wed, 1 Feb 2023 16:45:38 -0600 Subject: [PATCH] Condensed IA hook if statement --- .../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 c1a0bff2..94de85a7 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 == true) return; + if (this.enabled) return; this.enabled = true; HMCCosmeticsPlugin.setup(); }