PreLogEvent error during shutdown
zThana opened this issue ยท 2 comments
Getting this error during server shutdown (/stop).
[Server thread/INFO] [CoreProtect/]: Disabling CoreProtect v21.2
[Server thread/INFO] [Minecraft/]: [CoreProtect] Finishing up data logging. Please wait...
[Thread-55/INFO] [STDERR/]: [net.coreprotect.database.logger.ItemLogger:logTransaction:143]: java.lang.IllegalStateException: CoreProtectPreLogEvent cannot be triggered asynchronously from primary server thread.
[Thread-55/INFO] [STDERR/]: [net.coreprotect.database.logger.ItemLogger:logTransaction:143]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:568)
[Thread-55/INFO] [STDERR/]: [net.coreprotect.database.logger.ItemLogger:logTransaction:143]: at net.coreprotect.database.logger.ItemLogger.logTransaction(ItemLogger.java:128)
[Thread-55/INFO] [STDERR/]: [net.coreprotect.database.logger.ItemLogger:logTransaction:143]: at net.coreprotect.database.logger.ItemLogger.log(ItemLogger.java:103)
[Thread-55/INFO] [STDERR/]: [net.coreprotect.database.logger.ItemLogger:logTransaction:143]: at net.coreprotect.consumer.process.ItemTransactionProcess.process(ItemTransactionProcess.java:27)
[Thread-55/INFO] [STDERR/]: [net.coreprotect.database.logger.ItemLogger:logTransaction:143]: at net.coreprotect.consumer.process.Process.processConsumer(Process.java:155)
[Thread-55/INFO] [STDERR/]: [net.coreprotect.database.logger.ItemLogger:logTransaction:143]: at net.coreprotect.consumer.Consumer.run(Consumer.java:133)
[Thread-55/INFO] [STDERR/]: [net.coreprotect.database.logger.ItemLogger:logTransaction:143]: at java.base/java.lang.Thread.run(Thread.java:829)```