@Override
protected void run(final CommandSender sender, final String commandLabel, final String[] args) throws Exception
{
if (args.length < 2 || args[0].matches("[0-9]+"))
{
warpList(sender, args);
throw new NoChargeException();
}
IUser otherUser = ess.getUserMap().matchUser(args[1], false);
if (otherUser == null)
{
throw new Exception(_("§4Player not found."));
}
otherUser.getTeleport().warp(args[0], null, TeleportCause.COMMAND);
throw new NoChargeException();
}
Commandwarp.java 文件源码
java
阅读 15
收藏 0
点赞 0
评论 0
项目:Essentials
作者:
评论列表
文章目录