Citizens NPC Sentinel Kills treated as players
SykoUSS opened this issue ยท 2 comments
CoreProtect throws error in console when an NPC with the Sentinel Trait kills a mob
22.10 01:06:29 [Server] WARN java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.Map.get(Object)" is null
22.10 01:06:29 [Server] WARN at CoreProtect-21.2.jar//net.coreprotect.database.logger.PlayerKillLogger.log(PlayerKillLogger.java:31)
22.10 01:06:29 [Server] WARN at CoreProtect-21.2.jar//net.coreprotect.consumer.process.PlayerKillProcess.process(PlayerKillProcess.java:15)
22.10 01:06:29 [Server] WARN at CoreProtect-21.2.jar//net.coreprotect.consumer.process.Process.processConsumer(Process.java:215)
22.10 01:06:29 [Server] WARN at CoreProtect-21.2.jar//net.coreprotect.consumer.Consumer.run(Consumer.java:133)
22.10 01:06:29 [Server] WARN at java.base/java.lang.Thread.run(Thread.java:833)
22.10 01:06:53 [Server] WARN java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.Map.get(Object)" is null
22.10 01:06:53 [Server] WARN at CoreProtect-21.2.jar//net.coreprotect.database.logger.PlayerKillLogger.log(PlayerKillLogger.java:31)
22.10 01:06:53 [Server] WARN at CoreProtect-21.2.jar//net.coreprotect.consumer.process.PlayerKillProcess.process(PlayerKillProcess.java:15)
22.10 01:06:53 [Server] WARN at CoreProtect-21.2.jar//net.coreprotect.consumer.process.Process.processConsumer(Process.java:215)
22.10 01:06:53 [Server] WARN at CoreProtect-21.2.jar//net.coreprotect.consumer.Consumer.run(Consumer.java:133)
22.10 01:06:53 [Server] WARN at java.base/java.lang.Thread.run(Thread.java:833)
This is the same branch of issues, but not necessarily a duplicate of
Fixed in 319d104