ChestShop (iConomyChestShop)

ChestShop (iConomyChestShop)

6M Downloads

AuthMe old version

Sitmobedaf opened this issue ยท 4 comments

commented

What is happening?

https://pastebin.com/raw/UDSZt5Q4

What did you expect to happen?

https://pastebin.com/raw/UDSZt5Q4

Plugin Version

latest

Plugin Config

Config
[Put the config here]

Server Version

1999999999999999

Server Log

Log
[Your log here]

What other plugins are you running?

https://pastebin.com/raw/UDSZt5Q4

Agreements

Additional context

No response

commented

Please provide the full log or fill out all the fields properly...

commented

It's easier for me to submit a code change request, but it should probably be obvious
https://lostpic.tk/images/2023/03/04/ZAKVAT-1.jpg
Method registerEvent(new AuthMeChestShopListener()); can be placed in a try-catch block. This is the fastest solution

commented

Of course you are always welcome to submit a pull request fixing it! :) Imo. the easiest would be if you provided the requested information though ;)

commented
    Plugin authMe = getServer().getPluginManager().getPlugin("AuthMe");
    if (authMe != null && authMe.isEnabled()) {
        try {
            registerEvent(new AuthMeChestShopListener());
        }
        catch (ClassNotFoundException e) {
        }
    }