Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work on 1.17.1 #2

Open
ghost opened this issue Aug 2, 2021 · 1 comment
Open

Doesn't work on 1.17.1 #2

ghost opened this issue Aug 2, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 2, 2021

The plugin errors out on 1.17.1

Here is the error:

[08:41:20 ERROR]: Could not pass event PlayerToggleSneakEvent to TwerkTree v1.0-SNAPSHOT
java.lang.ClassNotFoundException: net.minecraft.server.v1_17_R1.ItemBoneMeal
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:148) ~[patched_1.17.1.jar:git-Airplane-23]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:105) ~[patched_1.17.1.jar:git-Airplane-23]
at java.lang.ClassLoader.loadClass(ClassLoader.java:519) ~[?:?]
at java.lang.Class.forName0(Native Method) ~[?:?]
at java.lang.Class.forName(Class.java:375) ~[?:?]
at me.jantuck.twerktree.compatibility.ReflectionSupplier.getNMSClass(ReflectionSupplier.kt:149) ~[?:?]
at me.jantuck.twerktree.compatibility.ReflectionSupplier.getNMSClass$default(ReflectionSupplier.kt:147) ~[?:?]
at me.jantuck.twerktree.compatibility.ReflectionSupplier$NMS_BONE_MEAL_CLASS$2.invoke(ReflectionSupplier.kt:98) ~[?:?]
at me.jantuck.twerktree.compatibility.ReflectionSupplier$NMS_BONE_MEAL_CLASS$2.invoke(ReflectionSupplier.kt:9) ~[?:?]
at me.jantuck.twerktree.shaded.kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) ~[?:?]
at me.jantuck.twerktree.compatibility.ReflectionSupplier.getNMS_BONE_MEAL_CLASS(ReflectionSupplier.kt) ~[?:?]
at me.jantuck.twerktree.compatibility.ReflectionSupplier.access$getNMS_BONE_MEAL_CLASS$p(ReflectionSupplier.kt:9) ~[?:?]
at me.jantuck.twerktree.compatibility.ReflectionSupplier$NMS_BONE_MEAL_METHOD_ACCESS$2.invoke(ReflectionSupplier.kt:102) ~[?:?]
at me.jantuck.twerktree.compatibility.ReflectionSupplier$NMS_BONE_MEAL_METHOD_ACCESS$2.invoke(ReflectionSupplier.kt:9) ~[?:?]
at me.jantuck.twerktree.shaded.kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) ~[?:?]
at me.jantuck.twerktree.compatibility.ReflectionSupplier.getNMS_BONE_MEAL_METHOD_ACCESS(ReflectionSupplier.kt) ~[?:?]
at me.jantuck.twerktree.compatibility.ModernProvider.boneMeal(ModernProvider.kt:76) ~[?:?]
at me.jantuck.twerktree.TwerkTree.onSneak(TwerkTree.kt:46) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor27.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.17.1.jar:git-Airplane-23]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[patched_1.17.1.jar:git-Airplane-23]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.17.1.jar:git-Airplane-23]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[patched_1.17.1.jar:git-Airplane-23]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handlePlayerCommand(ServerGamePacketListenerImpl.java:2368) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundPlayerCommandPacket.handle(ServerboundPlayerCommandPacket.java:37) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundPlayerCommandPacket.handle(ServerboundPlayerCommandPacket.java:7) ~[?:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:56) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[patched_1.17.1.jar:git-Airplane-23]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:149) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1422) ~[patched_1.17.1.jar:git-Airplane-23]
at net.minecraft.server.MinecraftServer.shouldRun(MinecraftServer.java:190) ~[patched_1.17.1.jar:git-Airplane-23]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:122) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1400) ~[patched_1.17.1.jar:git-Airplane-23]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1393) ~[patched_1.17.1.jar:git-Airplane-23]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:132) ~[?:?]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1369) ~[patched_1.17.1.jar:git-Airplane-23]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1280) ~[patched_1.17.1.jar:git-Airplane-23]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Airplane-23]
at java.lang.Thread.run(Thread.java:831) [?:?]

@JanTuck
Copy link
Owner

JanTuck commented Nov 5, 2021

This should have been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant