Closed felixbade closed 5 years ago
Seems like if player is AFK and uses the chat, the exception is thrown
This is also common. [Craft Scheduler Thread - 67/WARN]: [TelegramGateway] Plugin TelegramGateway v1.0 generated an exception while executing task 41 java.lang.NullPointerException: null
Happens when sending a message from Telegram. Does not happen every time.
This is not a TelegramGateway problem. The exception persists even when the plugin is disabled
Caused by: java.lang.IllegalStateException: AfkStatusChangeEvent cannot be triggered asynchronously from another thread
[Craft Scheduler Thread - 65/WARN]: [TelegramGateway] Plugin TelegramGateway v1.0 generated an exception while executing task 41 java.lang.NullPointerException: null at fi.felixbade.TelegramGateway.Main.lambda$onEnable$0(Main.java:43) ~[?:?]