Skip to content

Commit

Permalink
Tweak /baltop to not show displaynames on vanished players.
Browse files Browse the repository at this point in the history
  • Loading branch information
khobbits committed May 12, 2013
1 parent 29c9a46 commit 5e6f6b2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ public void run()
final BigDecimal userMoney = user.getMoney();
user.updateMoneyCache(userMoney);
totalMoney = totalMoney.add(userMoney);
balances.put(user.getDisplayName(), userMoney);
final String name = user.isHidden() ? user.getName() : user.getDisplayName();
balances.put(name, userMoney);
}
}

Expand Down

5 comments on commit 5e6f6b2

@mbax
Copy link
Member

@mbax mbax commented on 5e6f6b2 May 15, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Squee

@necrodoom
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mbax what?

@Iaccidentally
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

He's happy about the commit because he asked for it.

@mbax
Copy link
Member

@mbax mbax commented on 5e6f6b2 May 19, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👯

@pilotdan1985
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woo Hoo TY very much. Will this change be live in the next update for essentials? When will it go into effect?

Please sign in to comment.