Getting error on "ItemJoin reload" in the newest update.
Nesseley opened this issue ยท 5 comments
Version of ItemJoin: 4.6
Spigot: 1.12.2
"ItemJoin Reload" sends an error, BUT it also reloads the plugin.
https://pastebin.com/mnbukqv8
Looks to be an issue with your config file. Can you please send me your items.yml in a pastebin.com?
EDIT: Testing this now.. I think I am wrong because I am able to reproduce this error. I am only able to reproduce this error if I execute ItemJoin's reload command as console. It does not error if you are a player. It doesn't seem to cause any issues just an annoying error.
This is happening only when you do this as console correct?
EDIT2: Can confirm this is a console issue, its throwing an error trying to send a message saying the reload was successful. I have fixed this for the next v4.7 snapshot that I will push out soon.
To fix this until then just simply remove reloadedConfigs from the en-lang.yml and you won't see the error anymore. Although you should add it back once the fixed version is released.
Spigot 1.12.2 latest
ItemJoin 4.6
Probably fixed per above, but I can confirm NPE on
ij reload
with an items.yml that hasn't changed for months. No NPE on server start.
@SlimeDog This has been fixed in the latest snapshot. It has been the only change in that snapshot so its safe to use if you want; http://ci.craftationgaming.com/job/ItemJoin/95/
The reason for the bug is it is trying to set %player_location% to console but a console is not a player :P I added a check to make sure it's not null and it fixed it.
ItemJoin v4.7 has been released and contains this fix; https://www.spigotmc.org/resources/itemjoin.12661/download?version=202738