Show player config option shouldn't disable npcs

This commit is contained in:
Zeshan Aslam 2019-08-08 17:19:51 -04:00
parent 19885d156b
commit c2d4bd9a52
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ public class HealthUtil {
return false;
if (damaged instanceof Player) {
if (!plugin.configStore.showPlayers)
if (!plugin.configStore.showPlayers && !damaged.hasMetadata("NPC"))
return false;
} else {
if (!plugin.configStore.showMobs)