ChestShop-authors/ChestShop-3

Do you want to work on this issue?

You can request for a bounty in order to promote it!

AuthMe old version #546

Sitmobedaf posted onGitHub

What is happening?

https://pastebin.com/raw/UDSZt5Q4

What did you expect to happen?

https://pastebin.com/raw/UDSZt5Q4

Plugin Version

latest

Plugin Config

<details> <summary>Config</summary>

 [Put the config here]

</details>

Server Version

1999999999999999

Server Log

<details> <summary>Log</summary>

  [Your log here]

</details>

What other plugins are you running?

https://pastebin.com/raw/UDSZt5Q4

Agreements

Additional context

No response


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

posted by Phoenix616 about 2 years ago

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

posted by Sitmobedaf about 2 years ago

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 ;)

posted by Phoenix616 about 2 years ago
    Plugin authMe = getServer().getPluginManager().getPlugin("AuthMe");
    if (authMe != null && authMe.isEnabled()) {
        try {
            registerEvent(new AuthMeChestShopListener());
        }
        catch (ClassNotFoundException e) {
        }
    }
posted by Sitmobedaf about 2 years ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests