• Hello Guest! Did you know that ProjectKorra has an official Discord server? A lot of discussion about the official server, development process, and community discussion happens over there. Feel free to join now by clicking the link below.

    Join the Discord Server

Some abilities not working

Kronos1572

Verified Member
Hello, I've been setting up bending on a private server, but I noticed a few abilities not working/aren't working fully. Most notably AirSuction does nothing, the console lists an error each time it is tried. If anyone could help with this I would very much appreciate it. Thanks.

Versions:
Minecraft 1.12.1
Spigot 1.12.1
ProjectKorra v1.8.4

Code:
[Server thread/ERROR]: Could not pass event PlayerAnimationEvent to ProjectKorra v1.8.4
org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.12.1.jar:git-Spigot-65e8124-bde2a93]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.12.1.jar:git-Spigot-65e8124-bde2a93]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [spigot-1.12.1.jar:git-Spigot-65e8124-bde2a93]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [spigot-1.12.1.jar:git-Spigot-65e8124-bde2a93]
    at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1429) [spigot-1.12.1.jar:git-Spigot-65e8124-bde2a93]
    at net.minecraft.server.v1_12_R1.PacketPlayInArmAnimation.a(PacketPlayInArmAnimation.java:24) [spigot-1.12.1.jar:git-Spigot-65e8124-bde2a93]
    at net.minecraft.server.v1_12_R1.PacketPlayInArmAnimation.a(PacketPlayInArmAnimation.java:1) [spigot-1.12.1.jar:git-Spigot-65e8124-bde2a93]
    at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.12.1.jar:git-Spigot-65e8124-bde2a93]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_91]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_91]
    at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.1.jar:git-Spigot-65e8124-bde2a93]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot-1.12.1.jar:git-Spigot-65e8124-bde2a93]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.1.jar:git-Spigot-65e8124-bde2a93]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.1.jar:git-Spigot-65e8124-bde2a93]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.1.jar:git-Spigot-65e8124-bde2a93]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_91]
Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Player.getTargetBlock(Ljava/util/HashSet;I)Lorg/bukkit/block/Block;
    at com.projectkorra.projectkorra.GeneralMethods.getTargetedLocation(GeneralMethods.java:1143) ~[?:?]
    at com.projectkorra.projectkorra.airbending.AirSuction.<init>(AirSuction.java:76) ~[?:?]
    at com.projectkorra.projectkorra.PKListener.onPlayerSwing(PKListener.java:1506) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.12.1.jar:git-Spigot-65e8124-bde2a93]
    ... 15 more
 

Kronos1572

Verified Member
Why does this happen >.<
The last thing I try doing is checking if there's a new version of the plugin...
I believe it's fixed now, panic over ^^
 

xNuminousx

Verified Member
Have you tried updating your Project Korra version? The update log says 1.8.4 is compatible for MC 1.12 but not 1.12.1. Idk if there's a big difference there but I would try it. Try updating to the most recent: 1.8.6
 

Kronos1572

Verified Member
Have you tried updating your Project Korra version? The update log says 1.8.4 is compatible for MC 1.12 but not 1.12.1. Idk if there's a big difference there but I would try it. Try updating to the most recent: 1.8.6
Thanks for the reply, I did just this and it worked.
In classic fashion I figured this out 10 minutes after I posted for help, haha.
 
Top