mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-23 00:05:52 +01:00
add support for MM skill damage
This commit is contained in:
parent
aecba78020
commit
410d9bf263
@ -6,7 +6,7 @@ import net.Indyuce.mmocore.comp.rpg.damage.DamageHandler;
|
||||
import net.Indyuce.mmocore.comp.rpg.damage.DamageInfo;
|
||||
import net.Indyuce.mmocore.comp.rpg.damage.DamageInfo.DamageType;
|
||||
|
||||
public class MythicMobsDamagerHandler implements DamageHandler {
|
||||
public class MythicMobsDamageHandler implements DamageHandler {
|
||||
|
||||
@Override
|
||||
public DamageInfo getDamage(Entity entity) {
|
@ -18,6 +18,7 @@ public class MythicMobsDrops implements Listener {
|
||||
if (MMOCore.plugin.getConfig().getBoolean("lootsplosion.enabled"))
|
||||
Bukkit.getPluginManager().registerEvents(new Lootsplosion(), MMOCore.plugin);
|
||||
registerPlaceholders();
|
||||
MMOCore.plugin.damage.registerHandler(new MythicMobsDamageHandler());
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
|
Loading…
Reference in New Issue
Block a user