mcMMO-Dev / mcMMO-Classic

mcMMO Classic.
https://www.spigotmc.org/resources/official-mcmmo-classic.2445/
Other
37 stars 44 forks source link

PlayerFishEvent #80

Closed Kbryst closed 4 years ago

Kbryst commented 4 years ago

Unsure if Minecraft 1.12.2 is still being supported but I've got a player fish event on Paper spigot 1.12.2

> [07:14:37 ERROR]: Could not pass event PlayerFishEvent to mcMMO v1.5.08 java.lang.NoSuchMethodError: 'org.bukkit.block.Block org.bukkit.entity.Player.getTargetBlock(java.util.HashSet, int)' at com.gmail.nossr50.skills.fishing.FishingManager.exploitPrevention(FishingManager.java:170) ~[?:?] at com.gmail.nossr50.listeners.PlayerListener.onPlayerFishHighest(PlayerListener.java:225) ~[?:?] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor27.execute(Unknown Source) ~[?:?] at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[patched_1.12.2.jar:git-Paper-1618] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched_1.12.2.jar:git-Paper-1618] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.12.2.jar:git-Paper-1618] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513) ~[patched_1.12.2.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.ItemFishingRod.a(ItemFishingRod.java:42) ~[patched_1.12.2.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.ItemStack.a(ItemStack.java:330) ~[patched_1.12.2.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.PlayerInteractManager.a(PlayerInteractManager.java:431) ~[patched_1.12.2.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1064) ~[patched_1.12.2.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:26) ~[patched_1.12.2.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:5) ~[patched_1.12.2.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[patched_1.12.2.jar:git-Paper-1618] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?] at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) ~[patched_1.12.2.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:850) ~[patched_1.12.2.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[patched_1.12.2.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[patched_1.12.2.jar:git-Paper-1618] at java.lang.Thread.run(Thread.java:834) [?:?]

t00thpick1 commented 4 years ago

You are using the wrong version of mcMMO for that version of MC

Kbryst commented 4 years ago

It says it on the spigot page that 1.5.08 is the build for 1.12.2?

I'm I understanding it wrong o,o

t00thpick1 commented 4 years ago

Hmm.. Let me double check.

t00thpick1 commented 4 years ago

Try 1.5.10

Kbryst commented 4 years ago

I believe that worked perfectly, thank you so much!