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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user