Qveshn / LightAPI

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

Fixed issue with LightAPI for 1_16_R3 #30

Closed Zenya4 closed 3 years ago

Zenya4 commented 3 years ago

World.getMinHeight() does not exist for 1_16_R3. Fixed by reverting this change.

Qveshn commented 3 years ago

Hmm.... very strange Could you post here please the contents of META-INF/MANIFEST.MF and version.json from your 1_16_R3 server jar file, where World.getMinHeight() does not exists?

LOOHP commented 3 years ago

According to the Javadocs. Spigot 1.16.4 doesn't have the World.getMinHeight() method where as 1.16.5 does.

Zenya4 commented 3 years ago

I’m not sure where to get those files, I simply downloaded my jar from getbukkit.org. As LOOHP mentioned, the method doesn’t exist in 1.16.4 although both .4 and .5 are classified under 1_16_R3. As such it will not work on 1.16.4 but it works on 1.16.5 servers

Qveshn commented 3 years ago

Done (3.5.1) Thanks