9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-27 02:49:08 +00:00

Added test to try to fix startup error

This commit is contained in:
Fisher
2022-01-19 08:00:11 -05:00
committed by GitHub
parent c4dba6f9a8
commit 14d1cf5d19

View File

@@ -16,9 +16,11 @@ public class ItemsAdderHook implements ItemHook, Listener {
@EventHandler
public void onItemsAdderLoad(final ItemsAdderLoadDataEvent event) {
if (this.loaded) return;
HMCCosmetics.getPlugin(HMCCosmetics.class).load();
this.loaded = true;
// this is a test, will be removed later
System.out.println("ItemsAdder Loaded");
// if (this.loaded) return;
// HMCCosmetics.getPlugin(HMCCosmetics.class).load();
// this.loaded = true;
}
@Override