isEmpty() is prettier <3

This commit is contained in:
bm01 2013-02-02 04:42:24 +01:00
parent 1898537149
commit 63e827aefb

View File

@ -41,7 +41,7 @@ public final class ShareHandler {
if (party.getXpShareMode() == XpShareMode.EQUAL) {
List<Player> nearMembers = PartyManager.getNearMembers(player, party, Config.getInstance().getPartyShareRange());
if (nearMembers.size() <= 0) {
if (nearMembers.isEmpty()) {
running = false;
return;
}