feat: 添加获取玩家

Signed-off-by: 502647092 <admin@yumc.pw>
merge/1/MERGE
502647092 2016-09-30 19:25:49 +08:00
parent a30767c875
commit f5a9fc1131
1 changed files with 8 additions and 0 deletions

View File

@ -2,6 +2,7 @@ package pw.yumc.YumCore.commands;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
/**
*
@ -43,6 +44,13 @@ public class CommandArgument {
return command;
}
/**
* @return (Player)
*/
public Player getPlayer() {
return (Player) sender;
}
/**
* @return
*/