Made /party kick work on offline players

This commit is contained in:
bm01
2013-02-11 14:14:43 +01:00
parent bcd8906315
commit 0aeff40aaa
4 changed files with 9 additions and 17 deletions

View File

@ -121,7 +121,7 @@ public final class Users {
* @param player The player whose McMMOPlayer to retrieve
* @return the player's McMMOPlayer object
*/
public static McMMOPlayer getPlayer(Player player) {
public static McMMOPlayer getPlayer(OfflinePlayer player) {
return players.get(player.getName());
}
}