1.16.5 mohist | can't add ingredients to cauldron
logitek184 opened this issue ยท 1 comments
don't know why but whenever i try to add ingredients to a cauldron i keep getting this error on the serer
[10:47:00 ERROR]: Could not pass event PlayerInteractEvent to Brewery v3.1 org.bukkit.event.EventException: null at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303) ~[forge:?] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[forge:?] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[forge:?] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:594) ~[forge:?] at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:498) ~[forge:?] at net.minecraft.server.management.PlayerInteractionManager.func_219441_a(PlayerInteractionManager.java:401) ~[?:?] at net.minecraft.network.play.ServerPlayNetHandler.func_184337_a(ServerPlayNetHandler.java:1416) ~[?:?] at net.minecraft.network.play.client.CPlayerTryUseItemOnBlockPacket.func_148833_a(CPlayerTryUseItemOnBlockPacket.java:38) ~[?:?] at net.minecraft.network.play.client.CPlayerTryUseItemOnBlockPacket.func_148833_a(CPlayerTryUseItemOnBlockPacket.java:12) ~[?:?] at net.minecraft.network.PacketThreadUtil.lambda$ensureRunningOnSameThread$0(PacketThreadUtil.java:26) ~[?:?] at net.minecraft.util.concurrent.TickDelayedTask.run(SourceFile:18) ~[?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(ThreadTaskExecutor.java:153) ~[?:?] at net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23) ~[?:?] at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:942) ~[?:?] at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:176) ~[?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(ThreadTaskExecutor.java:126) ~[?:?] at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:925) ~[?:?] at net.minecraft.server.MinecraftServer.func_213168_p(MinecraftServer.java:919) ~[?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213161_c(ThreadTaskExecutor.java:136) ~[?:?] at net.minecraft.server.MinecraftServer.func_213202_o(MinecraftServer.java:905) ~[?:?] at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:825) ~[?:?] at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:269) ~[?:?] at java.lang.Thread.run(Unknown Source) [?:?] Caused by: java.lang.ClassCastException: class org.bukkit.craftbukkit.v1_16_R3.block.data.CraftBlockData cannot be cast to class org.bukkit.block.data.Levelled (org.bukkit.craftbukkit.v1_16_R3.block.data.CraftBlockData and org.bukkit.block.data.Levelled are in unnamed module of loader cpw.mods.modlauncher.TransformingClassLoader @6442cf3e) at com.dre.brewery.utility.LegacyUtil.getFillLevel(LegacyUtil.java:242) ~[?:?] at com.dre.brewery.BCauldron.ingredientAdd(BCauldron.java:133) ~[?:?] at com.dre.brewery.BCauldron.clickCauldron(BCauldron.java:462) ~[?:?] at com.dre.brewery.listeners.PlayerListener.onPlayerInteract(PlayerListener.java:76) ~[?:?] at jdk.internal.reflect.GeneratedMethodAccessor49.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ~[forge:?] ... 22 more