Stop naming dead mobs.

This commit is contained in:
Brianna 2019-12-16 17:24:22 -05:00
parent 160f345b89
commit 6c603e67eb
1 changed files with 1 additions and 2 deletions

View File

@ -172,8 +172,7 @@ public class EntityStack {
public void onDeath(LivingEntity killed, List<Drop> drops, boolean custom, int droppedExp, EntityDeathEvent event) {
killed.setCustomName(null);
killed.setCustomNameVisible(true);
killed.setCustomName(Methods.formatText("&7"));
killed.setCustomNameVisible(false);
boolean killWholeStack = Settings.KILL_WHOLE_STACK_ON_DEATH.getBoolean()
|| plugin.getMobFile().getBoolean("Mobs." + killed.getType().name() + ".Kill Whole Stack");