CoreProtect

CoreProtect

1M Downloads

coreprotect does not record the killing of villagers

HMY369 opened this issue ยท 3 comments

commented
2024-11-08.18-43-05.mp4

logs:
[18:43:06 INFO]: Villager Villager['Villager'/8116884, uuid='uuid', l='ServerLevel[world]', x=20084.72, y=72.00, z=51529.41, cpos=[1255, 3220], tl=54, v=true] died, message: 'Villager was slain by ME'
[18:43:06 WARN]: java.io.NotSerializableException: org.bukkit.craftbukkit.entity.CraftVillager$CraftProfession
[18:43:06 WARN]: at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1200)
[18:43:06 WARN]: at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:358)
[18:43:06 WARN]: at java.base/java.util.ArrayList.writeObject(ArrayList.java:948)
[18:43:06 WARN]: at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[18:43:06 WARN]: at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[18:43:06 WARN]: at java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1072)
[18:43:06 WARN]: at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1529)
[18:43:06 WARN]: at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1451)
[18:43:06 WARN]: at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1194)
[18:43:06 WARN]: at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:358)
[18:43:06 WARN]: at java.base/java.util.ArrayList.writeObject(ArrayList.java:948)
[18:43:06 WARN]: at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[18:43:06 WARN]: at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[18:43:06 WARN]: at java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1072)
[18:43:06 WARN]: at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1529)
[18:43:06 WARN]: at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1451)
[18:43:06 WARN]: at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1194)
[18:43:06 WARN]: at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:358)
[18:43:06 WARN]: at CoreProtect-22.4.jar//net.coreprotect.database.statement.EntityStatement.insert(EntityStatement.java:27)
[18:43:06 WARN]: at CoreProtect-22.4.jar//net.coreprotect.database.logger.EntityKillLogger.log(EntityKillLogger.java:49)
[18:43:06 WARN]: at CoreProtect-22.4.jar//net.coreprotect.consumer.process.EntityKillProcess.process(EntityKillProcess.java:24)
[18:43:06 WARN]: at CoreProtect-22.4.jar//net.coreprotect.consumer.process.Process.processConsumer(Process.java:205)
[18:43:06 WARN]: at CoreProtect-22.4.jar//net.coreprotect.consumer.Consumer.run(Consumer.java:133)
[18:43:06 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
[18:43:06 WARN]: java.lang.NullPointerException

commented

version 22.4

commented

Fixed in v23, you can find it under patreon community edition (free)