mirror of
https://e.coding.net/circlecloud/TeleportRandom.git
synced 2024-12-25 16:28:49 +00:00
update TeleportRandom.java
This commit is contained in:
parent
40ebb79d81
commit
5c83588b39
@ -62,11 +62,11 @@ public class TeleportRandom extends JavaPlugin implements CommandExecutor {
|
|||||||
case 3:
|
case 3:
|
||||||
RandomTP(Integer.parseInt(args[1]),Bukkit.getWorld(args[2]),Bukkit.getPlayer(args[0]));
|
RandomTP(Integer.parseInt(args[1]),Bukkit.getWorld(args[2]),Bukkit.getPlayer(args[0]));
|
||||||
break;
|
break;
|
||||||
} catch (final Exception e) {
|
}
|
||||||
|
return true;
|
||||||
|
} catch (final Exception e) {
|
||||||
sender.sendMessage(pluginname + "§c非法的参数或不存在的世界!");
|
sender.sendMessage(pluginname + "§c非法的参数或不存在的世界!");
|
||||||
}
|
}
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
sender.sendMessage(pluginname + "§c非法的参数!");
|
sender.sendMessage(pluginname + "§c非法的参数!");
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user