diff --git a/src/main/java/com/gmail/nossr50/party/ShareHandler.java b/src/main/java/com/gmail/nossr50/party/ShareHandler.java index e2123d766..9b10fa4fa 100644 --- a/src/main/java/com/gmail/nossr50/party/ShareHandler.java +++ b/src/main/java/com/gmail/nossr50/party/ShareHandler.java @@ -41,7 +41,7 @@ public final class ShareHandler { if (party.getXpShareMode() == XpShareMode.EQUAL) { List nearMembers = PartyManager.getNearMembers(player, party, Config.getInstance().getPartyShareRange()); - if (nearMembers.size() <= 0) { + if (nearMembers.isEmpty()) { running = false; return; }