steve4744/TNTRun

Papi ecloud update > error with ajLeaderboards

Closed this issue · 2 comments

After /papi ecloud update all Expansion-tntrun.jar has been updated and in console I get this error:

[05:33:19] [Craft Scheduler Thread - 16 - ajLeaderboards/WARN]: [PlaceholderAPI] Loaded class tntrun.TNTRun from TNTRun_reloaded v9.18 which is not a depend or softdepend of this plugin.
[05:33:19] [Craft Scheduler Thread - 16 - ajLeaderboards/WARN]: [ajLeaderboards] Plugin ajLeaderboards v2.2.0 generated an exception while executing task 80
java.lang.IllegalAccessError: class io.steve4744.papi.expansion.tntrun.TNTRunExpansion tried to access private field tntrun.TNTRun.stats (io.steve4744.papi.expansion.tntrun.TNTRunExpansion is in unnamed module of loader java.net.URLClassLoader @3afdbc37; tntrun.TNTRun is in unnamed module of loader 'TNTRun_reloaded-9.18.jar' @6ba42017)

https://pastebin.com/1cG6hhXD

If I remove Expansion-tntrun.jar from papi folder, I get no errors.

The ecloud expansion is no longer required. All the placeholders have been included within the plugin for some time.

[05:26:49] [Server thread/INFO]: [TNTRun_reloaded] Enabling TNTRun_reloaded v9.18
[05:26:49] [Server thread/INFO]: [TNTRun_reloaded] Successfully linked with PlaceholderAPI, version 2.11.1
[05:26:49] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: tntrun [9.18]

You can see from your startup log papi initially registers the correct version (9.18), before later trying to replace it with the old ecloud version (1.0.4).

So remove the tntrun expansion from the papi folder and restart the server to link the correct placeholders and all should be good.