OfflinePlayer.getName().toString() is pointless.

This commit is contained in:
GJ 2013-02-15 10:34:42 -05:00
parent 1ef1d53fd9
commit 3d3a1abf7b

View File

@ -212,7 +212,7 @@ public final class PartyManager {
else { else {
//If the leaving player was the party leader, appoint a new leader from the party members //If the leaving player was the party leader, appoint a new leader from the party members
if (party.getLeader().equals(player.getName())) { if (party.getLeader().equals(player.getName())) {
String newLeader = members.get(0).getName().toString(); String newLeader = members.get(0).getName();
party.setLeader(newLeader); party.setLeader(newLeader);
} }