mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-30 00:56:47 +01:00
isEmpty() is prettier <3
This commit is contained in:
parent
1898537149
commit
63e827aefb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user