mirror of
https://github.com/Artillex-Studios/AxMinions.git
synced 2025-01-08 19:07:41 +01:00
skip stacked mobs to nametag check
This commit is contained in:
parent
a364450a41
commit
e310a38f9b
@ -189,12 +189,6 @@ class Integrations : Integrations {
|
|||||||
.sendMessage(StringUtils.formatToString("<#33FF33>[AxMinions] Hooked into ItemsAdder!"))
|
.sendMessage(StringUtils.formatToString("<#33FF33>[AxMinions] Hooked into ItemsAdder!"))
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Bukkit.getPluginManager().getPlugin("ItemsAdder") != null) {
|
|
||||||
itemsAdderIntegration = true
|
|
||||||
Bukkit.getConsoleSender()
|
|
||||||
.sendMessage(StringUtils.formatToString("<#33FF33>[AxMinions] Hooked into ItemsAdder!"))
|
|
||||||
}
|
|
||||||
|
|
||||||
if (Bukkit.getPluginManager().getPlugin("Towny") != null) {
|
if (Bukkit.getPluginManager().getPlugin("Towny") != null) {
|
||||||
register(TownyIntegration())
|
register(TownyIntegration())
|
||||||
}
|
}
|
||||||
|
@ -77,7 +77,7 @@ class SlayerMinionType : MinionType("slayer", AxMinionsPlugin.INSTANCE.getResour
|
|||||||
return@fastFor
|
return@fastFor
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!getConfig().getBoolean("damage-renamed") && it.customName != null) {
|
if (!getConfig().getBoolean("damage-renamed") && it.customName != null && AxMinionsPlugin.integrations.getStackerIntegration().getStackSize(it) <= 1) {
|
||||||
return@fastFor
|
return@fastFor
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user