mirror of
https://github.com/Artillex-Studios/AxMinions.git
synced 2025-01-06 18:47:48 +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!"))
|
||||
}
|
||||
|
||||
if (Bukkit.getPluginManager().getPlugin("ItemsAdder") != null) {
|
||||
itemsAdderIntegration = true
|
||||
Bukkit.getConsoleSender()
|
||||
.sendMessage(StringUtils.formatToString("<#33FF33>[AxMinions] Hooked into ItemsAdder!"))
|
||||
}
|
||||
|
||||
if (Bukkit.getPluginManager().getPlugin("Towny") != null) {
|
||||
register(TownyIntegration())
|
||||
}
|
||||
|
@ -77,7 +77,7 @@ class SlayerMinionType : MinionType("slayer", AxMinionsPlugin.INSTANCE.getResour
|
||||
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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user