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

Condensed IA hook if statement

This commit is contained in:
LoJoSho
2023-02-01 16:45:38 -06:00
parent c52718da58
commit 500b8ca0ce

View File

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