Artillex-Studios / AxGraves

A lightweight grave (death chest) plugin focused on performance & compatbility
MIT License
13 stars 4 forks source link

Error occurred while disabling AxGraves v1.13.5 #24

Closed servicomcr closed 2 months ago

servicomcr commented 2 months ago

[09:39:05 ERROR]: Error occurred while disabling AxGraves v1.13.5 org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register task while disabled at org.bukkit.craftbukkit.scheduler.CraftScheduler.validate(CraftScheduler.java:539) ~[purpur-1.21.jar:1.21-2272-b2d1fea] at org.bukkit.craftbukkit.scheduler.CraftScheduler.runTaskTimer(CraftScheduler.java:219) ~[purpur-1.21.jar:1.21-2272-b2d1fea] at org.bukkit.craftbukkit.scheduler.CraftScheduler.runTaskTimer(CraftScheduler.java:215) ~[purpur-1.21.jar:1.21-2272-b2d1fea] at org.bukkit.craftbukkit.scheduler.CraftScheduler.runTaskLater(CraftScheduler.java:179) ~[purpur-1.21.jar:1.21-2272-b2d1fea] at org.bukkit.craftbukkit.scheduler.CraftScheduler.runTask(CraftScheduler.java:148) ~[purpur-1.21.jar:1.21-2272-b2d1fea] at AxGraves-1.13.5 (1).jar/com.artillexstudios.axgraves.libs.axapi.scheduler.impl.BukkitScheduler.runAt(BukkitScheduler.java:81) ~[AxGraves-1.13.5 (1).jar:?] at AxGraves-1.13.5 (1).jar/com.artillexstudios.axgraves.grave.Grave.remove(Grave.java:248) ~[AxGraves-1.13.5 (1).jar:?] at AxGraves-1.13.5 (1).jar/com.artillexstudios.axgraves.AxGraves.disable(AxGraves.java:76) ~[AxGraves-1.13.5 (1).jar:?] at AxGraves-1.13.5 (1).jar/com.artillexstudios.axgraves.libs.axapi.AxPlugin.onDisable(AxPlugin.java:156) ~[AxGraves-1.13.5 (1).jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:291) ~[paper-mojangapi-1.21-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugin(PaperPluginInstanceManager.java:237) ~[purpur-1.21.jar:1.21-2272-b2d1fea] at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugins(PaperPluginInstanceManager.java:161) ~[purpur-1.21.jar:1.21-2272-b2d1fea] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.disablePlugins(PaperPluginManagerImpl.java:97) ~[purpur-1.21.jar:1.21-2272-b2d1fea] at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:541) ~[paper-mojangapi-1.21-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:623) ~[purpur-1.21.jar:1.21-2272-b2d1fea] at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:1057) ~[purpur-1.21.jar:1.21-2272-b2d1fea] at net.minecraft.server.dedicated.DedicatedServer.stopServer(DedicatedServer.java:883) ~[purpur-1.21.jar:1.21-2272-b2d1fea] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1388) ~[purpur-1.21.jar:1.21-2272-b2d1fea] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:333) ~[purpur-1.21.jar:1.21-2272-b2d1fea] at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

BenceX100 commented 2 months ago

The 1.13.6 version should solve this!

servicomcr commented 2 months ago

Now

[17:03:24 ERROR]: Error occurred while disabling AxGraves v1.13.6 java.lang.NullPointerException: Cannot invoke "com.artillexstudios.axgraves.libs.axapi.packetentity.PacketEntity.remove()" because the return value of "com.artillexstudios.axgraves.grave.Grave.getEntity()" is null at AxGraves-1.13.6.jar/com.artillexstudios.axgraves.AxGraves.disable(AxGraves.java:71) ~[AxGraves-1.13.6.jar:?] at AxGraves-1.13.6.jar/com.artillexstudios.axgraves.libs.axapi.AxPlugin.onDisable(AxPlugin.java:156) ~[AxGraves-1.13.6.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:291) ~[paper-mojangapi-1.21-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugin(PaperPluginInstanceManager.java:237) ~[purpur-1.21.jar:1.21-2272-b2d1fea] at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugins(PaperPluginInstanceManager.java:161) ~[purpur-1.21.jar:1.21-2272-b2d1fea] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.disablePlugins(PaperPluginManagerImpl.java:97) ~[purpur-1.21.jar:1.21-2272-b2d1fea] at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:541) ~[paper-mojangapi-1.21-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:623) ~[purpur-1.21.jar:1.21-2272-b2d1fea] at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:1057) ~[purpur-1.21.jar:1.21-2272-b2d1fea] at net.minecraft.server.dedicated.DedicatedServer.stopServer(DedicatedServer.java:883) ~[purpur-1.21.jar:1.21-2272-b2d1fea] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1388) ~[purpur-1.21.jar:1.21-2272-b2d1fea] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:333) ~[purpur-1.21.jar:1.21-2272-b2d1fea] at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]