SakuraServerDevTeam / FlagGame

Caputure the flag PvP minigame on Bukkit-API
http://sakura-server.net/
GNU General Public License v3.0
0 stars 0 forks source link

NPE in area protect command #55

Closed 4oi closed 7 years ago

4oi commented 7 years ago

`

org.bukkit.command.CommandException: Unhandled exception executing command 'f' in plugin FlagGame v2.2.4-alpha1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot.jar:git-Spigot-b605b31-f4822eb] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot.jar:git-Spigot-b605b31-f4822eb] at org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchCommand(CraftServer.java:650) ~[spigot.jar:git-Spigot-b605b31-f4822eb] at net.minecraft.server.v1_11_R1.PlayerConnection.handleCommand(PlayerConnection.java:1353) [spigot.jar:git-Spigot-b605b31-f4822eb] at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1188) [spigot.jar:git-Spigot-b605b31-f4822eb] at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot.jar:git-Spigot-b605b31-f4822eb] at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot.jar:git-Spigot-b605b31-f4822eb] at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-b605b31-f4822eb] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_121] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_121] at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [spigot.jar:git-Spigot-b605b31-f4822eb] at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:747) [spigot.jar:git-Spigot-b605b31-f4822eb] at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot.jar:git-Spigot-b605b31-f4822eb] at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot.jar:git-Spigot-b605b31-f4822eb] at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot.jar:git-Spigot-b605b31-f4822eb] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121] Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.rangeCheck(ArrayList.java:653) ~[?:1.8.0_121] at java.util.ArrayList.get(ArrayList.java:429) ~[?:1.8.0_121] at syam.flaggame.command.area.AreaProtectCommand.execute(AreaProtectCommand.java:60) ~[?:?] at syam.flaggame.command.area.AreaCommand.execute(AreaCommand.java:42) ~[?:?] at syam.flaggame.command.BaseCommand.run(BaseCommand.java:97) ~[?:?] at syam.flaggame.FlagGame.onCommand(FlagGame.java:338) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:git-Spigot-b605b31-f4822eb] `