Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to 1.20.4 #14

Open
Drc-DEV opened this issue Jan 26, 2024 · 0 comments
Open

Update to 1.20.4 #14

Drc-DEV opened this issue Jan 26, 2024 · 0 comments

Comments

@Drc-DEV
Copy link

Drc-DEV commented Jan 26, 2024

Maybe consider falling back on reflection when nms don't match any compatible implementation.

[19:10:50 INFO]: [CustomBiomeColors] Enabling CustomBiomeColors v1.2.1
[19:10:50 ERROR]: Error occurred while enabling CustomBiomeColors v1.2.1 (Is it up to date?)
java.lang.IllegalStateException: @NotNull method me/arthed/custombiomecolors/CustomBiomeColors.getNmsServer must not return null
        at me.arthed.custombiomecolors.CustomBiomeColors.$$$reportNull$$$0(CustomBiomeColors.java) ~[CustomBiomeColors-1.2.1.jar:?]
        at me.arthed.custombiomecolors.CustomBiomeColors.getNmsServer(CustomBiomeColors.java:29) ~[CustomBiomeColors-1.2.1.jar:?]
        at me.arthed.custombiomecolors.BiomeManager.<init>(BiomeManager.java:17) ~[CustomBiomeColors-1.2.1.jar:?]
        at me.arthed.custombiomecolors.CustomBiomeColors.onEnable(CustomBiomeColors.java:78) ~[CustomBiomeColors-1.2.1.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:281) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:190) ~[paper-1.20.4.jar:git-Paper-399]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[paper-1.20.4.jar:git-Paper-399]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugin(CraftServer.java:637) ~[paper-1.20.4.jar:git-Paper-399]
        at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugins(CraftServer.java:548) ~[paper-1.20.4.jar:git-Paper-399]
        at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:274) ~[paper-1.20.4.jar:git-Paper-399]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1130) ~[paper-1.20.4.jar:git-Paper-399]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-399]
        at java.lang.Thread.run(Thread.java:840) ~[?:?]
[19:10:50 INFO]: [CustomBiomeColors] Disabling CustomBiomeColors v1.2.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant