mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-02-26 15:21:22 +01:00
Fixed Heroes (loaded MM) compatibility
This commit is contained in:
parent
f07ca103e5
commit
762c6fe3ae
@ -227,8 +227,10 @@ public class MMOItems extends JavaPlugin {
|
||||
}
|
||||
|
||||
if (Bukkit.getPluginManager().getPlugin("MythicMobs") != null) {
|
||||
Bukkit.getPluginManager().registerEvents(new MythicMobsHook(), this);
|
||||
getLogger().log(Level.INFO, "Hooked onto MythicMobs");
|
||||
Bukkit.getScheduler().runTaskAsynchronously(this, () -> {
|
||||
Bukkit.getPluginManager().registerEvents(new MythicMobsHook(), this);
|
||||
getLogger().log(Level.INFO, "Hooked onto MythicMobs (async)");
|
||||
});
|
||||
}
|
||||
|
||||
if (getConfig().getBoolean("item-glow")) {
|
||||
|
Loading…
Reference in New Issue
Block a user