fixed mm compatibility

This commit is contained in:
Indyuce 2019-09-01 00:00:29 +02:00
parent fba68935c9
commit 06a4825cb6

View File

@ -38,7 +38,7 @@ public class MythicMobsHook implements Listener {
*/ */
@EventHandler @EventHandler
public void b(MythicReloadedEvent event) { public void b(MythicReloadedEvent event) {
new MythicMobsHook(); MythicMobs.inst().getPlaceholderManager().register("mmoitems.skill", Placeholder.meta((metadata, arg) -> String.valueOf(PlayerData.get(metadata.getCaster().getEntity().getUniqueId()).getSkillData().getCachedModifier(arg))));
} }
public class MMOItemsDrop extends Drop implements IMultiDrop { public class MMOItemsDrop extends Drop implements IMultiDrop {