Fixed server transfer bug.
This commit is contained in:
parent
f98d6e0534
commit
fcba1db291
@ -17,7 +17,7 @@ public class TransferHandler implements CommandCallback
|
||||
TransferCommand transferCommand = (TransferCommand) command;
|
||||
ServerTransfer transfer = transferCommand.getTransfer();
|
||||
|
||||
Player player = Bukkit.getPlayer(transfer.getPlayerName());
|
||||
Player player = Bukkit.getPlayerExact(transfer.getPlayerName());
|
||||
|
||||
if (player != null && player.isOnline())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user