mirror of
https://github.com/zeshan321/ActionHealth.git
synced 2024-11-13 06:15:12 +01:00
Show player config option shouldn't disable npcs
This commit is contained in:
parent
19885d156b
commit
c2d4bd9a52
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user