Qveshn / LightAPI

Bukkit Library for create invisible light source
Other
29 stars 12 forks source link

Spigot 1.14 Support #5

Closed LJack2k closed 4 years ago

LJack2k commented 5 years ago

Today I've been migrating my spigot 1.13 server to 1.14 and I came across this error. I hope you are still maintaining this plugin and hopefully its a easy fix. If you need more information let me know.

[15:55:15] [Server thread/INFO]: [LightAPI] Enabling LightAPI v3.2.9 [15:55:15] [Server thread/INFO]: : Could not find handler for this Bukkit Spigot implementation v1_14_R1 version. [15:55:15] [Server thread/WARN]: ru.beykerykt.lightapi.server.exceptions.UnknownNMSVersionException: Could not find handler for this Bukkit Spigot implementation v1_14_R1 version. [15:55:15] [Server thread/WARN]: at ru.beykerykt.lightapi.server.ServerModManager.init(ServerModManager.java:62) [15:55:15] [Server thread/WARN]: at ru.beykerykt.lightapi.LightAPI.onEnable(LightAPI.java:172) [15:55:15] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) [15:55:15] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352) [15:55:15] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:416) [15:55:15] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugin(CraftServer.java:458) [15:55:15] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugins(CraftServer.java:372) [15:55:15] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:440) [15:55:15] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:258) [15:55:15] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:761) [15:55:15] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source) [15:55:15] [Server thread/INFO]: [LightAPI] Disabling LightAPI v3.2.9

SamB440 commented 5 years ago

Took a look at the code, unfortunately it seems a lot of NMS has changed. Hopefully Qveshn can work it out though...

Sv443 commented 5 years ago

Yup, I have got the same issue. Here's my startup log:

[09:34:34] [Server thread/INFO]: [LightAPI] Enabling LightAPI v3.2.9
[09:34:34] [Server thread/INFO]: <LightAPI>: Could not find handler for this Bukkit Spigot implementation v1_14_R1 version.
[09:34:34] [Server thread/WARN]: ru.beykerykt.lightapi.server.exceptions.UnknownNMSVersionException: Could not find handler for this Bukkit Spigot implementation v1_14_R1 version.
[09:34:34] [Server thread/WARN]:        at ru.beykerykt.lightapi.server.ServerModManager.init(ServerModManager.java:62)
[09:34:34] [Server thread/WARN]:        at ru.beykerykt.lightapi.LightAPI.onEnable(LightAPI.java:172)
[09:34:34] [Server thread/WARN]:        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
[09:34:34] [Server thread/WARN]:        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352)
[09:34:34] [Server thread/WARN]:        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:416)
[09:34:34] [Server thread/WARN]:        at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugin(CraftServer.java:458)
[09:34:34] [Server thread/WARN]:        at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugins(CraftServer.java:372)
[09:34:34] [Server thread/WARN]:        at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:440)
[09:34:34] [Server thread/WARN]:        at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:258)
[09:34:34] [Server thread/WARN]:        at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:758)
[09:34:34] [Server thread/WARN]:        at java.lang.Thread.run(Unknown Source)
[09:34:34] [Server thread/INFO]: [LightAPI] Disabling LightAPI v3.2.9

I'm using the latest Spigot 1.14 dev build and these plugins:

grafik

Qveshn commented 5 years ago

LightAPI does not support 1.14 yet. I will look how to upgrade it

Sv443 commented 5 years ago

I just noticed this is a fork. Are you now maintaining LightAPI or should I move my issue to the original repo @Qveshn?

Qveshn commented 5 years ago

Now LightAPI fork supports 1.8-1.14 https://www.spigotmc.org/resources/lightapi-fork.48247/ =)

Qveshn commented 5 years ago

No reaction for a long time. Issue will be closed as fixed.

Qveshn commented 4 years ago

Issue is closed as fixed