玩家每次进入匹配几秒后会自动退出
后台报错
[17:34:08] [Server thread/WARN]: [PixelmonPvp] Task #89 for PixelmonPvp v2.4.3.4-SNAPSHOT generated an exception
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(Unknown Source) ~[?:1.8.0_301]
at java.util.ArrayList.get(Unknown Source) ~[?:1.8.0_301]
at com.mc9y.pixelmonpvpplugin.api.battle.BattleOption.randomPlayer(BattleOption.java:342) ~[?:?]
at com.mc9y.pixelmonpvpplugin.api.battle.BattleOption.match(BattleOption.java:334) ~[?:?]
at com.mc9y.pixelmonpvpplugin.api.battle.BattleCenter.lambda$match$1(BattleCenter.java:109) ~[?:?]
at java.util.HashMap.forEach(Unknown Source) ~[?:1.8.0_301]
at com.mc9y.pixelmonpvpplugin.api.battle.BattleCenter.match(BattleCenter.java:109) ~[?:?]
at com.mc9y.pixelmonpvpplugin.PixelmonPvpLoader.lambda$null$4(PixelmonPvpLoader.java:88) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[CraftTask.class:git-CatServer-1.12.2-c0537be]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:421) [CraftScheduler.class:git-CatServer-1.12.2-c0537be]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:882) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:474) [nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:826) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:685) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_301]