1.16.5 使用/pmp watch的时候报错
插件版本2.5.2.0-BETA 宝可梦模组版本9.1.13
[20:45:22] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'pmp' in plugin PixelmonPvp v2.5.2.0-BETA
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[forge:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:156) ~[forge:?]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:680) ~[forge:1.16.5-69069a9c]
at net.minecraft.network.play.ServerPlayNetHandler.func_147361_d(ServerPlayNetHandler.java:1796) ~[?:?]
at net.minecraft.network.play.ServerPlayNetHandler.func_244548_c(ServerPlayNetHandler.java:1649) ~[?:?]
at net.minecraft.network.play.ServerPlayNetHandler.func_147354_a(ServerPlayNetHandler.java:1603) ~[?:?]
at net.minecraft.network.play.client.CChatMessagePacket.func_148833_a(CChatMessagePacket.java:38) ~[?:?]
at net.minecraft.network.play.client.CChatMessagePacket.func_148833_a(CChatMessagePacket.java:8) ~[?:?]
at net.minecraft.network.PacketThreadUtil.func_225383_a(PacketThreadUtil.java:22) ~[?:?]
at net.minecraft.util.concurrent.TickDelayedTask.run(SourceFile:18) ~[?:?]
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(SourceFile:144) ~[?:?]
at net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23) ~[?:?]
at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:885) ~[?:?]
at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:169) ~[?:?]
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(SourceFile:118) ~[?:?]
at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:868) ~[?:?]
at net.minecraft.server.MinecraftServer.func_213168_p(MinecraftServer.java:862) ~[?:?]
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213161_c(SourceFile:127) ~[?:?]
at net.minecraft.server.MinecraftServer.func_213202_o(MinecraftServer.java:848) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:779) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:265) ~[?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.lang.ArithmeticException: / by zero
at com.mc9y.pixelmonpvpplugin.data.battle.WatchGui.lambda$open$3(WatchGui.java:59) ~[?:?]
at com.aystudio.core.bukkit.util.common.CommonUtil.saveResource(CommonUtil.java:122) ~[?:?]
at com.aystudio.core.bukkit.plugin.AyPlugin.saveResource(AyPlugin.java:29) ~[?:?]
at com.mc9y.pixelmonpvpplugin.data.battle.WatchGui.open(WatchGui.java:28) ~[?:?]
at com.mc9y.pixelmonpvpplugin.command.PixelmonPvpCommand.watch(PixelmonPvpCommand.java:108) ~[?:?]
at com.mc9y.pixelmonpvpplugin.command.PixelmonPvpCommand.onCommand(PixelmonPvpCommand.java:71) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[forge:?]
... 21 more