Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AuthMe old version #546

Open
4 tasks done
Sitmobedaf opened this issue Mar 4, 2023 · 4 comments
Open
4 tasks done

AuthMe old version #546

Sitmobedaf opened this issue Mar 4, 2023 · 4 comments

Comments

@Sitmobedaf
Copy link

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

@Phoenix616
Copy link
Member

Phoenix616 commented Mar 4, 2023

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

@Sitmobedaf
Copy link
Author

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

@Phoenix616
Copy link
Member

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

@Sitmobedaf
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants