• 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

Fixed Metal bending passive ? o.O

Status
Not open for further replies.

Finn_Bueno_

Staff member
Plugin Developer
Verified Member
Hai! I found a nasty bug, it spams my console whenever an earth bender presses shift o_O

Here's the info:

  • Which plugin you are using: ProjectKorra (CORE)
  • Which version of the plugin you are using (Can be found with /bending version): 1.6.0 BETA 19
  • Where the bug exists (Is it in an ability, a command, etc) : In the metal bending passive I believe
  • A detailed description of the bug you found: Whenever an earth bender taps shift, this error comes up.
  • What should be happening instead: the error shouldn't come up :p
Here's the error:

Code:
[21:14:58 WARN]: [ProjectKorra] Task #12 for ProjectKorra v1.6.0 BETA 19 generated an exception
java.lang.NoSuchMethodError: org.bukkit.entity.Player.getTargetBlock(Ljava/util/Set;I)Lorg/bukkit/block/Block;
    at com.projectkorra.ProjectKorra.earthbending.EarthPassive.handleMetalPassives(EarthPassive.java:81) ~[?:?]
    at com.projectkorra.ProjectKorra.earthbending.EarthbendingManager.run(EarthbendingManager.java:18) ~[?:?]
    at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot.jar:git-Spigot-"606148f"]
    at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot.jar:git-Spigot-"606148f"]
    at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:695) [spigot.jar:git-Spigot-"606148f"]
    at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot.jar:git-Spigot-"606148f"]
    at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:625) [spigot.jar:git-Spigot-"606148f"]
    at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:528) [spigot.jar:git-Spigot-"606148f"]
    at java.lang.Thread.run(Thread.java:745) [?:1.7.0_71]
Thanks already! :) @jacklin213
 

jedk1

New Member
I didn't ? >,<
No you need to. I found this as an issue when i went to apply my own custom things to pk (as i have to with every update until they add what i need), older versions of spigot dont have the methods. Use later versions of spigot.
 
Status
Not open for further replies.
Top