You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to break blocks, the blocks can't be broken because of the exception, also enchantments all disappear also on items
2024-07-07 19:29:38 java.lang.NullPointerException: Cannot invoke "org.geysermc.geyser.item.enchantment.Enchantment.bedrockEnchantment()" because "enchantment" is null
2024-07-07 19:29:38 at Geyser-Spigot.jar/org.geysermc.geyser.util.ItemUtils.getEnchantmentLevel(ItemUtils.java:62) ~[Geyser-Spigot.jar:?]
2024-07-07 19:29:38 at Geyser-Spigot.jar/org.geysermc.geyser.util.BlockUtils.getBreakTime(BlockUtils.java:148) ~[Geyser-Spigot.jar:?]
2024-07-07 19:29:38 at Geyser-Spigot.jar/org.geysermc.geyser.util.BlockUtils.getSessionBreakTime(BlockUtils.java:178) ~[Geyser-Spigot.jar:?]
2024-07-07 19:29:38 at Geyser-Spigot.jar/org.geysermc.geyser.translator.protocol.bedrock.entity.player.BedrockActionTranslator.translate(BedrockActionTranslator.java:163) ~[Geyser-Spigot.jar:?]
2024-07-07 19:29:38 at Geyser-Spigot.jar/org.geysermc.geyser.translator.protocol.bedrock.entity.player.BedrockActionTranslator.translate(BedrockActionTranslator.java:58) ~[Geyser-Spigot.jar:?]
2024-07-07 19:29:38 at Geyser-Spigot.jar/org.geysermc.geyser.registry.PacketTranslatorRegistry.translate0(PacketTranslatorRegistry.java:89) ~[Geyser-Spigot.jar:?]
2024-07-07 19:29:38 at Geyser-Spigot.jar/org.geysermc.geyser.registry.PacketTranslatorRegistry.lambda$translate$0(PacketTranslatorRegistry.java:69) ~[Geyser-Spigot.jar:?]
2024-07-07 19:29:38 at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
2024-07-07 19:29:38 at io.netty.channel.DefaultEventLoop.run(DefaultEventLoop.java:54) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
2024-07-07 19:29:38 at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
2024-07-07 19:29:38 at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
2024-07-07 19:29:38 at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
2024-07-07 19:29:38 at java.base/java.lang.Thread.run(Unknown Source) ~[?:?]
To Reproduce
Setup a server, add geyser, floodgate and the stacker, join from bedrock, use an item that has enchantments on it, try to break blocks.
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Minecraft's Version
1.21 Java
Bedrock / For Windows MC
Plugin's Version
B64 Dev build
Describe the bug
When trying to break blocks, the blocks can't be broken because of the exception, also enchantments all disappear also on items
2024-07-07 19:29:38 java.lang.NullPointerException: Cannot invoke "org.geysermc.geyser.item.enchantment.Enchantment.bedrockEnchantment()" because "enchantment" is null
2024-07-07 19:29:38 at Geyser-Spigot.jar/org.geysermc.geyser.util.ItemUtils.getEnchantmentLevel(ItemUtils.java:62) ~[Geyser-Spigot.jar:?]
2024-07-07 19:29:38 at Geyser-Spigot.jar/org.geysermc.geyser.util.BlockUtils.getBreakTime(BlockUtils.java:148) ~[Geyser-Spigot.jar:?]
2024-07-07 19:29:38 at Geyser-Spigot.jar/org.geysermc.geyser.util.BlockUtils.getSessionBreakTime(BlockUtils.java:178) ~[Geyser-Spigot.jar:?]
2024-07-07 19:29:38 at Geyser-Spigot.jar/org.geysermc.geyser.translator.protocol.bedrock.entity.player.BedrockActionTranslator.translate(BedrockActionTranslator.java:163) ~[Geyser-Spigot.jar:?]
2024-07-07 19:29:38 at Geyser-Spigot.jar/org.geysermc.geyser.translator.protocol.bedrock.entity.player.BedrockActionTranslator.translate(BedrockActionTranslator.java:58) ~[Geyser-Spigot.jar:?]
2024-07-07 19:29:38 at Geyser-Spigot.jar/org.geysermc.geyser.registry.PacketTranslatorRegistry.translate0(PacketTranslatorRegistry.java:89) ~[Geyser-Spigot.jar:?]
2024-07-07 19:29:38 at Geyser-Spigot.jar/org.geysermc.geyser.registry.PacketTranslatorRegistry.lambda$translate$0(PacketTranslatorRegistry.java:69) ~[Geyser-Spigot.jar:?]
2024-07-07 19:29:38 at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
2024-07-07 19:29:38 at io.netty.channel.DefaultEventLoop.run(DefaultEventLoop.java:54) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
2024-07-07 19:29:38 at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
2024-07-07 19:29:38 at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
2024-07-07 19:29:38 at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.97.Final.jar:4.1.97.Final]
2024-07-07 19:29:38 at java.base/java.lang.Thread.run(Unknown Source) ~[?:?]
To Reproduce
Setup a server, add geyser, floodgate and the stacker, join from bedrock, use an item that has enchantments on it, try to break blocks.
Additional Information
No response
The text was updated successfully, but these errors were encountered: