diff --git a/src/main/java/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java b/src/main/java/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java index 8c3c1c83..67689970 100644 --- a/src/main/java/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java +++ b/src/main/java/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java @@ -328,8 +328,8 @@ public class FlagWatcher { if (!sendAllCustom && getDisguise().isPlayerDisguise() && index == MetaIndex.LIVING_HEALTH) { float health = ((Number) watch.getRawValue()).floatValue(); - String name = DisguiseConfig.isScoreboardNames() ? ((PlayerDisguise) getDisguise()).getName() : - ((PlayerDisguise) getDisguise()).getScoreboardName().getPlayer(); + String name = DisguiseConfig.isScoreboardNames() ? ((PlayerDisguise) getDisguise()).getScoreboardName().getPlayer() : + ((PlayerDisguise) getDisguise()).getName(); ReflectionManager.setScore(player.getScoreboard(), ReflectionManager.scoreboardCrtieriaHealth, name, (int) Math.ceil(health)); }