Fixed server transfer bug.

This commit is contained in:
Jonathan Williams 2015-02-09 00:15:45 -08:00
parent f98d6e0534
commit fcba1db291

View File

@ -17,7 +17,7 @@ public class TransferHandler implements CommandCallback
TransferCommand transferCommand = (TransferCommand) command; TransferCommand transferCommand = (TransferCommand) command;
ServerTransfer transfer = transferCommand.getTransfer(); ServerTransfer transfer = transferCommand.getTransfer();
Player player = Bukkit.getPlayer(transfer.getPlayerName()); Player player = Bukkit.getPlayerExact(transfer.getPlayerName());
if (player != null && player.isOnline()) if (player != null && player.isOnline())
{ {