• 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

Spigot Server works, but bending does not.

Tenket

Verified Member
I feel like I'm making rookie mistakes here. Would love to learn where I'm going wrong :)

Minecraft Version: 1.8.3
Spigot Version:1.8.3
PKCore version:1.8.3

Code:
[12:41:39 ERROR]: Could not pass event PlayerAnimationEvent to ProjectKorra v1.8
.3
org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
va:305) ~[spigot-1.8.3-R0.1-SNAPSHOT-latest.jar:git-Spigot-870264a-0a645a2]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
a:62) ~[spigot-1.8.3-R0.1-SNAPSHOT-latest.jar:git-Spigot-870264a-0a645a2]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
ava:502) [spigot-1.8.3-R0.1-SNAPSHOT-latest.jar:git-Spigot-870264a-0a645a2]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
ava:487) [spigot-1.8.3-R0.1-SNAPSHOT-latest.jar:git-Spigot-870264a-0a645a2]
        at net.minecraft.server.v1_8_R2.PlayerConnection.a(PlayerConnection.java
:1195) [spigot-1.8.3-R0.1-SNAPSHOT-latest.jar:git-Spigot-870264a-0a645a2]
        at net.minecraft.server.v1_8_R2.PacketPlayInArmAnimation.a(PacketPlayInA
rmAnimation.java:18) [spigot-1.8.3-R0.1-SNAPSHOT-latest.jar:git-Spigot-870264a-0
a645a2]
        at net.minecraft.server.v1_8_R2.PacketPlayInArmAnimation.a(PacketPlayInA
rmAnimation.java:1) [spigot-1.8.3-R0.1-SNAPSHOT-latest.jar:git-Spigot-870264a-0a
645a2]
        at net.minecraft.server.v1_8_R2.PlayerConnectionUtils$1.run(SourceFile:1
3) [spigot-1.8.3-R0.1-SNAPSHOT-latest.jar:git-Spigot-870264a-0a645a2]
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [
?:1.8.0_45]
        at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_45]
        at net.minecraft.server.v1_8_R2.SystemUtils.a(SourceFile:60) [spigot-1.8
.3-R0.1-SNAPSHOT-latest.jar:git-Spigot-870264a-0a645a2]
        at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:7
12) [spigot-1.8.3-R0.1-SNAPSHOT-latest.jar:git-Spigot-870264a-0a645a2]
        at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:3
68) [spigot-1.8.3-R0.1-SNAPSHOT-latest.jar:git-Spigot-870264a-0a645a2]
        at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:6
51) [spigot-1.8.3-R0.1-SNAPSHOT-latest.jar:git-Spigot-870264a-0a645a2]
        at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java
:554) [spigot-1.8.3-R0.1-SNAPSHOT-latest.jar:git-Spigot-870264a-0a645a2]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_45]
Caused by: java.lang.NoSuchMethodError: org.bukkit.inventory.PlayerInventory.get
ItemInMainHand()Lorg/bukkit/inventory/ItemStack;
        at com.projectkorra.projectkorra.BendingPlayer.canCurrentlyBendWithWeapo
ns(BendingPlayer.java:269) ~[?:?]
        at com.projectkorra.projectkorra.PKListener.onPlayerSwing(PKListener.jav
a:1444) ~[?:?]
        at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
.8.0_45]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_45]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
va:301) ~[spigot-1.8.3-R0.1-SNAPSHOT-latest.jar:git-Spigot-870264a-0a645a2]
        ... 15 more
 

Tenket

Verified Member
Solved somewhat.

Spigot Version: 1.11.2
Minecraft Version:11.2
PK Core:1.8.3

Bending works.

Is there any better version to be using?
Maybe Archive this as its difficult to find out which version to use with what. Is there a FAQ sections so others don't have to run into this same issue?
 
Top