mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
Don't cancel death message fixes for NPCs.
This commit is contained in:
parent
a87bd14342
commit
c12d4319ac
@ -105,11 +105,6 @@ public class PlayerListener implements Listener {
|
||||
}
|
||||
|
||||
Player player = event.getEntity();
|
||||
|
||||
if (Misc.isNPCEntity(player)) {
|
||||
return;
|
||||
}
|
||||
|
||||
event.setDeathMessage(MobHealthbarUtils.fixDeathMessage(deathMessage, player));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user