mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-11 19:50:30 +00:00
Fix wrong if case
This commit is contained in:
parent
76d3228b51
commit
b3f8a7b24e
1 changed files with 2 additions and 2 deletions
|
@ -371,8 +371,8 @@ public class FlagWatcher {
|
|||
health = MetaIndex.LIVING_HEALTH.getDefault();
|
||||
}
|
||||
|
||||
String name = !DisguiseConfig.isScoreboardNames() && ((PlayerDisguise) getDisguise()).hasScoreboardName() ?
|
||||
((PlayerDisguise) getDisguise()).getName() : ((PlayerDisguise) getDisguise()).getScoreboardName().getPlayer();
|
||||
String name = DisguiseConfig.isScoreboardNames() && ((PlayerDisguise) getDisguise()).hasScoreboardName() ?
|
||||
((PlayerDisguise) getDisguise()).getScoreboardName().getPlayer() : ((PlayerDisguise) getDisguise()).getName();
|
||||
|
||||
ReflectionManager.setScore(player.getScoreboard(), ReflectionManager.scoreboardCrtieriaHealth, name, (int) Math.ceil(health));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue