You have a NullPointerException on this line (152): Code:java if (data.getToggledPerks().contains(EnumPerk.NIGHTVISION)) { There are two possibillities, either "data" is null, or "getToggledPerks()" returns null.
@PiinGMotion Please read these links: --How to make a Plugin Development thread https://bukkit.org/threads/read-me-first-how-to-make-a-plugin-development-thread.395844/ -- How to read stack traces (e.g. How to read your own error messages) https://bukkit.org/threads/how-to-r...ubleshoot-your-own-plugins-by-yourself.32457/
Because this statement can become null because maybe it doesn't have night vision so you might need to make an Else if statement to check if it's null. That's the best I got
No, thats absolutely not the cause of this NPE. You should read the links too. Also look at my Signature.