-
-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Hello there,
Unfortunately, the problem with the reload command persists in a different way.
I made a new issue because i can't reopen my last one.
While I no longer receive an error message, the changes aren't being applied. I make changes to a chat channel, and the /sir reload command doesn't take effect. I have to restart the entire server for it to work.
Furthermore, I can't make any changes.
The commands for the channels aren't registered. If default-format is set to false in the config, I'm in Staffchat by default if I have permission. When I type, I get the error shown below. If the option in the config is set to true (which I need so LPC handles the formatting per group), the channels don't work at all.
Therefore, the plugin is currently unusable for me, as I'm only encountering errors. I hope we can find a solution for this.
The error:
[22:02:45 WARN]: [SIR] Global task for SIR v1.6.1 generated an exception java.lang.NullPointerException: Cannot invoke "net.essentialsx.dep.net.dv8tion.jda.api.JDA.getSelfUser()" because "this.jda" is null at EssentialsXDiscord-2.21.0.jar/net.essentialsx.discord.JDADiscordService.sendChatMessage(JDADiscordService.java:302) ~[EssentialsXDiscord-2.21.0.jar:?] at EssentialsXDiscord-2.21.0.jar/net.essentialsx.discord.JDADiscordService.sendChatMessage(JDADiscordService.java:279) ~[EssentialsXDiscord-2.21.0.jar:?] at SIR-1.6.1.jar/me.croabeast.sir.module.DiscordHook$EssentialsHolder.lambda$send$4(DiscordHook.java:158) ~[SIR-1.6.1.jar:?] at SIR-1.6.1.jar/me.croabeast.scheduler.FoliaScheduler.lambda$runTask$1(FoliaScheduler.java:75) ~[SIR-1.6.1.jar:?] at io.papermc.paper.threadedregions.scheduler.FoliaGlobalRegionScheduler$GlobalScheduledTask.run(FoliaGlobalRegionScheduler.java:179) ~[paper-1.21.4.jar:?] at io.papermc.paper.threadedregions.scheduler.FoliaGlobalRegionScheduler.tick(FoliaGlobalRegionScheduler.java:37) ~[paper-1.21.4.jar:?] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1661) ~[paper-1.21.4.jar:1.21.4-224-0cf7315] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1529) ~[paper-1.21.4.jar:1.21.4-224-0cf7315] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1251) ~[paper-1.21.4.jar:1.21.4-224-0cf7315] at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:310) ~[paper-1.21.4.jar:1.21.4-224-0cf7315] at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]