Minecraft Paper 1.21 and TreeFeller 1.24.0
Closed this issue · 0 comments
Hello,
v1.24.0 doesn't work with Paper 1.21:
"
Could not pass event BlockBreakEvent to TreeFeller v1.24.0
java.lang.ExceptionInInitializerError: null
at TreeFeller-1.24.0.jar/com.thizthizzydizzy.treefeller.FellBehavior.processNaturalFallBehavior(FellBehavior.java:277) ~[TreeFeller-1.24.0.jar:?]
at TreeFeller-1.24.0.jar/com.thizthizzydizzy.treefeller.FellBehavior.processDelayedNaturalFallBehavior(FellBehavior.java:262) ~[TreeFeller-1.24.0.jar:?]
at TreeFeller-1.24.0.jar/com.thizthizzydizzy.treefeller.FellBehavior.access$200(FellBehavior.java:14) ~[TreeFeller-1.24.0.jar:?]
at TreeFeller-1.24.0.jar/com.thizthizzydizzy.treefeller.FellBehavior$12.breakBlock(FellBehavior.java:147) ~[TreeFeller-1.24.0.jar:?]
at TreeFeller-1.24.0.jar/com.thizthizzydizzy.treefeller.TreeFeller.breakBlock(TreeFeller.java:977) ~[TreeFeller-1.24.0.jar:?]
at TreeFeller-1.24.0.jar/com.thizthizzydizzy.treefeller.TreeFeller.fellTree(TreeFeller.java:295) ~[TreeFeller-1.24.0.jar:?]
at TreeFeller-1.24.0.jar/com.thizthizzydizzy.treefeller.TreeFeller.fellTree(TreeFeller.java:97) ~[TreeFeller-1.24.0.jar:?]
at TreeFeller-1.24.0.jar/com.thizthizzydizzy.treefeller.TreeFeller.fellTree(TreeFeller.java:94) ~[TreeFeller-1.24.0.jar:?]
at TreeFeller-1.24.0.jar/com.thizthizzydizzy.treefeller.TreeFeller.fellTree(TreeFeller.java:91) ~[TreeFeller-1.24.0.jar:?]
at TreeFeller-1.24.0.jar/com.thizthizzydizzy.treefeller.TreeFeller.fellTree(TreeFeller.java:88) ~[TreeFeller-1.24.0.jar:?]
at TreeFeller-1.24.0.jar/com.thizthizzydizzy.treefeller.TreeFellerEventListener.onBlockBreak(TreeFellerEventListener.java:26) ~[TreeFeller-1.24.0.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor176.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:81) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:1.21-78-ef96a69]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.21.jar:1.21-78-ef96a69]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.21.jar:1.21-78-ef96a69]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
at net.minecraft.server.level.ServerPlayerGameMode.destroyBlock(ServerPlayerGameMode.java:383) ~[paper-1.21.jar:1.21-78-ef96a69]
at net.minecraft.server.level.ServerPlayerGameMode.destroyAndAck(ServerPlayerGameMode.java:342) ~[paper-1.21.jar:1.21-78-ef96a69]
at net.minecraft.server.level.ServerPlayerGameMode.handleBlockBreakAction(ServerPlayerGameMode.java:306) ~[paper-1.21.jar:1.21-78-ef96a69]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handlePlayerAction(ServerGamePacketListenerImpl.java:1785) ~[paper-1.21.jar:1.21-78-ef96a69]
at net.minecraft.network.protocol.game.ServerboundPlayerActionPacket.handle(ServerboundPlayerActionPacket.java:51) ~[paper-1.21.jar:1.21-78-ef96a69]
at net.minecraft.network.protocol.game.ServerboundPlayerActionPacket.handle(ServerboundPlayerActionPacket.java:20) ~[paper-1.21.jar:1.21-78-ef96a69]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:56) ~[paper-1.21.jar:1.21-78-ef96a69]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.21.jar:1.21-78-ef96a69]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:151) ~[paper-1.21.jar:1.21-78-ef96a69]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[paper-1.21.jar:1.21-78-ef96a69]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1533) ~[paper-1.21.jar:1.21-78-ef96a69]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:201) ~[paper-1.21.jar:1.21-78-ef96a69]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:125) ~[paper-1.21.jar:1.21-78-ef96a69]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1510) ~[paper-1.21.jar:1.21-78-ef96a69]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1503) ~[paper-1.21.jar:1.21-78-ef96a69]
at net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:114) ~[paper-1.21.jar:1.21-78-ef96a69]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1625) ~[paper-1.21.jar:1.21-78-ef96a69]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1300) ~[paper-1.21.jar:1.21-78-ef96a69]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:330) ~[paper-1.21.jar:1.21-78-ef96a69]
at java.base/java.lang.Thread.run(Thread.java:1570) ~[?:?]
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 2 out of bounds for length 2
at TreeFeller-1.24.0.jar/com.thizthizzydizzy.vanillify.version.VersionMatcher.match(VersionMatcher.java:29) ~[TreeFeller-1.24.0.jar:?]
at TreeFeller-1.24.0.jar/com.thizthizzydizzy.vanillify.Vanillify.(Vanillify.java:7) ~[TreeFeller-1.24.0.jar:?]
... 38 more
"