mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-24 17:47:44 +01:00
OfflinePlayer.getName().toString() is pointless.
This commit is contained in:
parent
1ef1d53fd9
commit
3d3a1abf7b
@ -212,7 +212,7 @@ public final class PartyManager {
|
||||
else {
|
||||
//If the leaving player was the party leader, appoint a new leader from the party members
|
||||
if (party.getLeader().equals(player.getName())) {
|
||||
String newLeader = members.get(0).getName().toString();
|
||||
String newLeader = members.get(0).getName();
|
||||
party.setLeader(newLeader);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user