Skip to content

CustomDiscs doesn't boot on Minecraft 1.21.5 #93

@Psora1

Description

@Psora1

First off, great plugin! Members of my server love it, and we're currently on Paper 1.21.4. Testing with Spigot 1.21.5 (for when Paper 1.21.5 releases) and the plugin refuses to boot, so I figured I'd submit a report here just so it's on your radar. The error message in console is pasted below. Thanks!

[18:11:43] [Server thread/ERROR]: Error occurred while enabling CustomDiscs v4.3 (Is it up to date?)
java.lang.IllegalStateException: Tried to access CommandAPIHandler instance, but it was null! Are you using CommandAPI features before calling CommandAPI#onLoad?
at me.navoei.customdiscsplugin.commandapi.CommandAPIHandler.getInstance(CommandAPIHandler.java:172) ~[?:?]
at me.navoei.customdiscsplugin.commandapi.CommandAPI.onEnable(CommandAPI.java:154) ~[?:?]
at me.Navoei.customdiscsplugin.CustomDiscs.onEnable(CustomDiscs.java:51) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:267) ~[spigot-api-1.21.5-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-api-1.21.5-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:492) ~[spigot-api-1.21.5-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_21_R4.CraftServer.enablePlugin(CraftServer.java:578) ~[spigot-1.21.5-R0.1-SNAPSHOT.jar:4477-Spigot-e339edc-ba251cc]
at org.bukkit.craftbukkit.v1_21_R4.CraftServer.enablePlugins(CraftServer.java:492) ~[spigot-1.21.5-R0.1-SNAPSHOT.jar:4477-Spigot-e339edc-ba251cc]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:652) ~[spigot-1.21.5-R0.1-SNAPSHOT.jar:4477-Spigot-e339edc-ba251cc]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:437) ~[spigot-1.21.5-R0.1-SNAPSHOT.jar:4477-Spigot-e339edc-ba251cc]
at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:268) ~[spigot-1.21.5-R0.1-SNAPSHOT.jar:4477-Spigot-e339edc-ba251cc]
at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1007) ~[spigot-1.21.5-R0.1-SNAPSHOT.jar:4477-Spigot-e339edc-ba251cc]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325) ~[spigot-1.21.5-R0.1-SNAPSHOT.jar:4477-Spigot-e339edc-ba251cc]
at java.base/java.lang.Thread.run(Unknown Source) [?:?]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions