-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Type of bug
Compatibility issue, Error in console
/ess dump all output
(https://essentialsx.net/dump.html?id=d74de341ccc14a80b32fd52dca15bebc)
Error log (if applicable)
Bug description
It seems essentials doesn't know how to handle unsupported permissions plugins. I found 2 other issue tickets with the same error, #4892 and #4726 but they were closed and the error never reproduced. I think this is the cause.
Here is a simple fix, however I haven't compiled and tested this, as I don't have gradle. It's a simple fix, just don't return null. I'm also unsure if this will modify the chart in a way that's unwanted, so best to check with the devs before compiling and running this.
Steps to reproduce
Use a custom or less common permissions plugin which is unsupported by EssentialsX.
Expected behaviour
Expect to silently report nothing to bStats, or as in my suggested change, report "other" to bStats.
Actual behaviour
bStats throws an exception due to a custom chart containing a null key.