You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 11, 2024. It is now read-only.
Describe the bug
Pretty simple. When you disable a ProjectAddons ability, and have an ability with the same name on the server, it's errors gallore.
To Reproduce
Disable LavaSurge
Install beta LavaSurge from PK
Use LavaSurge
Profit Die of errors
Expected behavior
No errors :D
Versions:
Spigot: 1.19.3
ProjectKorra 1.11.0 BETA4
ProjectAddons 1.2.3
Logs
[09:12:59 ERROR]: Could not pass event PlayerToggleSneakEvent to ProjectAddons v1.2.3
java.lang.NullPointerException: Cannot invoke "org.bukkit.entity.Player.getTargetBlock(java.util.Set, int)" because "this.player" is null
at me.simplicitee.project.addons.ability.earth.LavaSurge.prepare(LavaSurge.java:89) ~[ProjectAddons-1.2.3.jar:?]
at me.simplicitee.project.addons.ability.earth.LavaSurge.<init>(LavaSurge.java:83) ~[ProjectAddons-1.2.3.jar:?]
at me.simplicitee.project.addons.MainListener.onSneak(MainListener.java:250) ~[ProjectAddons-1.2.3.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor526.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.19.3-R0.1-SNAPSHOT.jar:git-Paper-409]