res插件 无法删除领地 玩家或者管理员都不可 删除指令发出去后台还会报错 服务端是1.12.2 cat
以下是报错
[15:38:59] [Server thread/WARN] [Minecraft]: Unexpected exception while parsing console command "resadmin remove j"
org.bukkit.command.CommandException: Unhandled exception executing command 'resadmin' in plugin Residence v2.8.3.6-git-685f97b512024f4997979714fae64a9efcb0be78
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[PluginCommand.class:git-Spigot-dcd1643-e60fc34]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[SimpleCommandMap.class:git-Spigot-dcd1643-e60fc34]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:702) ~[CraftServer.class:git-Spigot-dcd1643-e60fc34]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchServerCommand(CraftServer.java:688) [CraftServer.class:git-Spigot-dcd1643-e60fc34]
at net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(DedicatedServer.java:515) [nz.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:473) [nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:783) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:637) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
at pw.yumc.Residence.commandsub.CommandRemove.execute(CommandRemove.java:84) ~[?:?]
at pw.yumc.Residence.commands.HandlerSubCommand.onCommand(HandlerSubCommand.java:187) ~[?:?]
at pw.yumc.Residence.commandmain.CommandRes.execute(CommandRes.java:143) ~[?:?]
at pw.yumc.Residence.commands.HandlerMainCommand.onCommand(HandlerMainCommand.java:51) ~[?:?]
at pw.yumc.Residence.ResidenceMain.onCommand(ResidenceMain.java:365) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[PluginCommand.class:git-Spigot-dcd1643-e60fc34]
... 8 more
以下是报错
[15:38:59] [Server thread/WARN] [Minecraft]: Unexpected exception while parsing console command "resadmin remove j"
org.bukkit.command.CommandException: Unhandled exception executing command 'resadmin' in plugin Residence v2.8.3.6-git-685f97b512024f4997979714fae64a9efcb0be78
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[PluginCommand.class:git-Spigot-dcd1643-e60fc34]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[SimpleCommandMap.class:git-Spigot-dcd1643-e60fc34]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:702) ~[CraftServer.class:git-Spigot-dcd1643-e60fc34]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchServerCommand(CraftServer.java:688) [CraftServer.class:git-Spigot-dcd1643-e60fc34]
at net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(DedicatedServer.java:515) [nz.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:473) [nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:783) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:637) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
at pw.yumc.Residence.commandsub.CommandRemove.execute(CommandRemove.java:84) ~[?:?]
at pw.yumc.Residence.commands.HandlerSubCommand.onCommand(HandlerSubCommand.java:187) ~[?:?]
at pw.yumc.Residence.commandmain.CommandRes.execute(CommandRes.java:143) ~[?:?]
at pw.yumc.Residence.commands.HandlerMainCommand.onCommand(HandlerMainCommand.java:51) ~[?:?]
at pw.yumc.Residence.ResidenceMain.onCommand(ResidenceMain.java:365) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[PluginCommand.class:git-Spigot-dcd1643-e60fc34]
... 8 more