diff --git a/src/main/java/cn/citycraft/TeleportRandom/TeleportRandom.java b/src/main/java/cn/citycraft/TeleportRandom/TeleportRandom.java index 52facd4..422d4db 100644 --- a/src/main/java/cn/citycraft/TeleportRandom/TeleportRandom.java +++ b/src/main/java/cn/citycraft/TeleportRandom/TeleportRandom.java @@ -48,9 +48,8 @@ public class TeleportRandom extends JavaPlugin implements CommandExecutor { sender.sendMessage(pluginname + "§c非法的参数或不存在的世界!"); } return true; - } else { - sender.sendMessage(pluginname + "§c控制台无法使用此命令!"); } + sender.sendMessage(pluginname + "§c控制台无法使用此命令!"); return false; }