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

Bedrock Players can't play when using Geyser & Floodgate with this stacker #932

Open
jaddie opened this issue Jul 7, 2024 · 0 comments
Open
Assignees
Labels
Pending Pending reports to be investigated

Comments

@jaddie
Copy link

jaddie commented Jul 7, 2024

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

@jaddie jaddie added the Pending Pending reports to be investigated label Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pending Pending reports to be investigated
Projects
None yet
Development

No branches or pull requests

2 participants