Added ability to remove friends from friends list

Fixed offline players not able to be added to friends list
This commit is contained in:
Waverunner
2015-06-15 13:49:53 -04:00
parent c682a64c0d
commit 4d58a1c9f7
5 changed files with 27 additions and 4 deletions
+5 -1
View File
@@ -94,7 +94,11 @@ public class PlayerManager extends Manager {
else if (i instanceof NotifyPlayersPacketIntent)
onNotifyPlayersPacketIntent((NotifyPlayersPacketIntent) i);
}
public boolean playerExists(String name) {
return zoneService.characterExistsForName(name);
}
public Player getPlayerByCreatureName(String name) {
synchronized (players) {
for (Player p : players.values()) {