本帖最后由 Yuncan 于 2022-11-21 03:02 编辑 
似乎是ClassLevelEntity插件的问题,但是我不知道是怎么回事,服务器玩的时候也一点都不卡,只是后台三秒一次报错,烦不胜烦,每次都是下面这个内容,Task后面那个数字一直在变
| [01:14:26] [Server thread/WARN]: [ClassLevelEntity] Task #1917240 for ClassLevelEntity v1.0.0 generated an exception de.tr7zw.nbtapi.NbtApiException: Exception while getting NBTCompound from NMS Entity!
 at de.tr7zw.nbtapi.NBTReflectionUtil.getEntityNBTTagCompound(NBTReflectionUtil.java:192) ~[?:?]
 at de.tr7zw.nbtapi.NBTEntity.getCompound(NBTEntity.java:35) ~[?:?]
 at de.tr7zw.nbtapi.NBTReflectionUtil.getList(NBTReflectionUtil.java:434) ~[?:?]
 at de.tr7zw.nbtapi.NBTCompound.getCompoundList(NBTCompound.java:697) ~[?:?]
 at pers.tany.classlevelentity.util.EntityAttributesUtil.getMaxHealth(EntityAttributesUtil.java:13) ~[?:?]
 at pers.tany.classlevelentity.listenevent.Events$3.run(Events.java:215) ~[?:?]
 at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:82) ~[spigot-1.19-R0.1-SNAPSHOT.jar:3539-Spigot-56be6a8-82f7574]
 at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:415) ~[spigot-1.19-R0.1-SNAPSHOT.jar:3539-Spigot-56be6a8-82f7574]
 at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1245) ~[spigot-1.19-R0.1-SNAPSHOT.jar:3539-Spigot-56be6a8-82f7574]
 at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:394) ~[spigot-1.19-R0.1-SNAPSHOT.jar:3539-Spigot-56be6a8-82f7574]
 at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1197) ~[spigot-1.19-R0.1-SNAPSHOT.jar:3539-Spigot-56be6a8-82f7574]
 at net.minecraft.server.MinecraftServer.v(MinecraftServer.java:1010) ~[spigot-1.19-R0.1-SNAPSHOT.jar:3539-Spigot-56be6a8-82f7574]
 at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:291) ~[spigot-1.19-R0.1-SNAPSHOT.jar:3539-Spigot-56be6a8-82f7574]
 at java.lang.Thread.run(Thread.java:833) [?:?]
 Caused by: java.lang.NullPointerException
 |