-
Bug
-
Resolution: Invalid
-
Minor
-
None
-
None
-
Operating system: Windows 10, 64 bit
Java version: openjdk version "11.0.16.1" 2022-08-12 LTS
OpenJDK Runtime Environment Microsoft-40648 (build 11.0.16.1+1-LTS)
OpenJDK 64-Bit Server VM Microsoft-40648 (build 11.0.16.1+1-LTS, mixed mode)Java(TM) SE Runtime Environment (build 17.0.8+9-LTS-211)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.8+9-LTS-211, mixed mode, sharing)Operating system: Windows 10, 64 bit Java version: openjdk version "11.0.16.1" 2022-08-12 LTS OpenJDK Runtime Environment Microsoft-40648 (build 11.0.16.1+1-LTS) OpenJDK 64-Bit Server VM Microsoft-40648 (build 11.0.16.1+1-LTS, mixed mode) Java(TM) SE Runtime Environment (build 17.0.8+9-LTS-211) Java HotSpot(TM) 64-Bit Server VM (build 17.0.8+9-LTS-211, mixed mode, sharing)
-
3864-Spigot-d2eba2c-00f5a80 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT)
-
My own plugin, still under maintaine
-
Yes
When I plant a torchflower seed on farmland, its age is 0-1, but when it reaches full maturity, the console displays an error message saying that this flower cannot be treated as an ageable flower. I believe it's a bug, because I can treat other new flowers like the Pitcher plant as ageable at any stage.
[15:39:20] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to FarmAssistant v1.0-SNAPSHOT org.bukkit.event.EventException: null at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_20_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:528) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3801-Spigot-bed8c61-66c5ce4] at org.bukkit.craftbukkit.v1_20_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:495) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3801-Spigot-bed8c61-66c5ce4] at net.minecraft.server.level.PlayerInteractManager.a(PlayerInteractManager.java:187) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3801-Spigot-bed8c61-66c5ce4] at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1574) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3801-Spigot-bed8c61-66c5ce4] at net.minecraft.network.protocol.game.PacketPlayInBlockDig.a(SourceFile:42) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3801-Spigot-bed8c61-66c5ce4] at net.minecraft.network.protocol.game.PacketPlayInBlockDig.a(SourceFile:8) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3801-Spigot-bed8c61-66c5ce4] at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:31) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3801-Spigot-bed8c61-66c5ce4] at net.minecraft.server.TickTask.run(SourceFile:18) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3801-Spigot-bed8c61-66c5ce4] at net.minecraft.util.thread.IAsyncTaskHandler.d(SourceFile:156) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3801-Spigot-bed8c61-66c5ce4] at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(SourceFile:23) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3801-Spigot-bed8c61-66c5ce4] at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1152) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3801-Spigot-bed8c61-66c5ce4] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:1) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3801-Spigot-bed8c61-66c5ce4] at net.minecraft.util.thread.IAsyncTaskHandler.x(SourceFile:130) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3801-Spigot-bed8c61-66c5ce4] at net.minecraft.server.MinecraftServer.bg(MinecraftServer.java:1131) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3801-Spigot-bed8c61-66c5ce4] at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1124) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3801-Spigot-bed8c61-66c5ce4] at net.minecraft.util.thread.IAsyncTaskHandler.c(SourceFile:139) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3801-Spigot-bed8c61-66c5ce4] at net.minecraft.server.MinecraftServer.p_(MinecraftServer.java:1108) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3801-Spigot-bed8c61-66c5ce4] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1019) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3801-Spigot-bed8c61-66c5ce4] at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.20.1-R0.1-SNAPSHOT.jar:3801-Spigot-bed8c61-66c5ce4] at java.lang.Thread.run(Thread.java:833) ~[?:?] Caused by: java.lang.ClassCastException: class org.bukkit.craftbukkit.v1_20_R1.block.data.CraftBlockData cannot be cast to class org.bukkit.block.data.Ageable (org.bukkit.craftbukkit.v1_20_R1.block.data.CraftBlockData and org.bukkit.block.data.Ageable are in unnamed module of loader java.net.URLClassLoader @573fd745) at org.vitya0717.farmassistant.listeners.FarmAssistListener.onClickOnStuffs(FarmAssistListener.java:55) ~[?:?] at jdk.internal.reflect.GeneratedMethodAccessor76.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-api-1.20.1-R0.1-SNAPSHOT.jar:?]