-
Notifications
You must be signed in to change notification settings - Fork 50
Other plug-ins cannot call the. #458
Comments
This is pretty much the same problem as with #108. However, unlike BiomeFinder, which was missing the |
What is your config.yml? |
Looking at the error is most likely due to a configuration issue as it errors looking for a currency name. |
Out of fascination, I launched a clean server with Advanced Achievements, Vault and TNE all with default configs, and unfortunately I'm observing the exact same error. Digging a little deeper, I noticed that TNE had a
This means that the economy plugin will always be loaded after Advanced Achievements, even though Advanced Achievements correctly depends on the Vault economy abstraction. @creatorfromhell why does TNE need to depend on Advanced Achievements? The dependence was added in a35b9b4, |
I'm not sure why it depends on it, but I'm sure it was added for a reason due to a previous issue. I'll test this more later but judging by the error it seems more relating to configurations. |
Just an FYI, this seems to still be an issue in TNE 0.1.1.13. Server latest is here: https://gist.github.com/nacjm/350970f757c34d2b76325e4447d725cc |
What is the issue/bug you're experiencing?
Other plug-ins cannot call the.
How can the issue be reproduced?
Add AdvancedAchievements
TNE version?
version: 0.1.1.12
TNE build?
version: 0.1.1.12
Modules Loaded?
No Modules
Spigot/Bukkit version?
paper1.16.5 build 550
Is your server run in online mode?
No.I'm BC.
error_info:
[16:31:22 INFO]: [AdvancedAchievements] Enabling AdvancedAchievements v7.0.3
[16:31:22 INFO]: [AdvancedAchievements] Backing up and loading configuration files...
[16:31:23 ERROR]: Error occurred while enabling AdvancedAchievements v7.0.3 (Is it up to date?)
java.lang.NullPointerException: null
at net.tnemc.core.common.api.Economy_TheNewEconomy.currencyNameSingular(Economy_TheNewEconomy.java:65) ~[?:?]
at com.hm.achievement.config.RewardParser.parseMoneyReward(RewardParser.java:109) ~[?:?]
at com.hm.achievement.config.RewardParser.parseRewards(RewardParser.java:86) ~[?:?]
at com.hm.achievement.config.ConfigurationParser.parseAchievement(ConfigurationParser.java:374) ~[?:?]
at com.hm.achievement.config.ConfigurationParser.parseAchievements(ConfigurationParser.java:322) ~[?:?]
at com.hm.achievement.config.ConfigurationParser.loadAndParseConfiguration(ConfigurationParser.java:91) ~[?:?]
at com.hm.achievement.lifecycle.PluginLoader.loadAdvancedAchievements(PluginLoader.java:142) ~[?:?]
at com.hm.achievement.AdvancedAchievements.onEnable(AdvancedAchievements.java:49) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[Paper.jar:git-Paper-550]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380) ~[Paper.jar:git-Paper-550]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[Paper.jar:git-Paper-550]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:501) ~[Paper.jar:git-Paper-550]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:415) ~[Paper.jar:git-Paper-550]
at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:468) ~[Paper.jar:git-Paper-550]
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:241) ~[Paper.jar:git-Paper-550]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:943) ~[Paper.jar:git-Paper-550]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[Paper.jar:git-Paper-550]
at java.lang.Thread.run(Thread.java:834) [?:?]
[16:31:23 INFO]: [AdvancedAchievements] Disabling AdvancedAchievements v7.0.3
The text was updated successfully, but these errors were encountered: