eyesniper2 / skRayFall

An addon for skript that adds Citizens support, EffectLib support and other features.
https://sk.rayfall.net/
GNU General Public License v3.0
21 stars 17 forks source link

error on start? #90

Closed synccoin closed 2 years ago

synccoin commented 2 years ago

Describe the bug

don't know, just won't work and throw an error on start

Steps to Reproduce

no clue tbh, just wont work on start

Expected Behavior

well, ig to have the plugin work?

Your Script

/

Screenshots / Errors

[21:11:11 INFO]: [skRayFall] Enabling skRayFall v1.9.26

[21:11:11 INFO]: [skRayFall] Yay! You are running skRayFall 1.9.26!

[21:11:11 INFO]: [skRayFall] Nathan and Lewis <3 you.

[21:11:11 INFO]: [skRayFall] Cooking Bacon...

[21:11:11 ERROR]: Error occurred while enabling skRayFall v1.9.26 (Is it up to date?)

java.lang.IllegalArgumentException: Can't register org.bukkit.scoreboard.Team$OptionStatus with the code name teamoptionstatus because that name is already used by team option status

    at ch.njol.skript.registrations.Classes.registerClass(Classes.java:90) ~[Skript.jar:?]

    at net.rayfall.eyesniper2.skrayfall.TypeManager.registerV1_9_2Elements(TypeManager.java:176) ~[skRayFall.jar:?]

    at net.rayfall.eyesniper2.skrayfall.TypeManager.registerSyntax(TypeManager.java:33) ~[skRayFall.jar:?]

    at net.rayfall.eyesniper2.skrayfall.Core.onEnable(Core.java:69) ~[skRayFall.jar:?]

    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[patched_1.17.1.jar:git-Paper-408]

    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[patched_1.17.1.jar:git-Paper-408]

    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.17.1.jar:git-Paper-408]

    at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugin(CraftServer.java:561) ~[patched_1.17.1.jar:git-Paper-408]

    at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugins(CraftServer.java:475) ~[patched_1.17.1.jar:git-Paper-408]

    at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:733) ~[patched_1.17.1.jar:git-Paper-408]

    at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:317) ~[patched_1.17.1.jar:git-Paper-408]

    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1220) ~[patched_1.17.1.jar:git-Paper-408]

    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-408]

    at java.lang.Thread.run(Thread.java:833) ~[?:?]

[21:11:11 INFO]: [skRayFall] Disabling skRayFall v1.9.26

[21:11:11 INFO]: [skRayFall] Bacon has been eaten. Make some more soon!

[21:11:11 ERROR]: Error occurred while disabling skRayFall v1.9.26 (Is it up to date?)

java.lang.NullPointerException: Cannot invoke "net.rayfall.eyesniper2.skrayfall.effectlibsupport.RayFallEffectManager.dumpData()" because "net.rayfall.eyesniper2.skrayfall.Core.rayfallEffectManager" is null

    at net.rayfall.eyesniper2.skrayfall.Core.onDisable(Core.java:125) ~[skRayFall.jar:?]

    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266) ~[patched_1.17.1.jar:git-Paper-408]

    at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:399) ~[patched_1.17.1.jar:git-Paper-408]

    at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:537) ~[patched_1.17.1.jar:git-Paper-408]

    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374) ~[patched_1.17.1.jar:git-Paper-408]

    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.17.1.jar:git-Paper-408]

    at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugin(CraftServer.java:561) ~[patched_1.17.1.jar:git-Paper-408]

    at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugins(CraftServer.java:475) ~[patched_1.17.1.jar:git-Paper-408]

    at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:733) ~[patched_1.17.1.jar:git-Paper-408]

    at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:317) ~[patched_1.17.1.jar:git-Paper-408]

    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1220) ~[patched_1.17.1.jar:git-Paper-408]

    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-408]

    at java.lang.Thread.run(Thread.java:833) ~[?:?]

Server Information

Additional Information

i dont know if its neccessary but the plugin is marked red on /plugins

eyesniper2 commented 2 years ago

This error should be fixed in the latest version of skRayFall (1.9.27) which I published last night and can be gotten here.

Feel free to reopen this if you are still having the same issue after the update.