Closed stromsoftware closed 2 months ago
Unable to reproduce on Paper 1.21 and Minecraft: Bedrock Edition on Android/iPad/Win10 (all on 1.21.1) using the following bit of code:
@EventHandler
public void onInventoryOpen(InventoryOpenEvent event) {
if (event.getInventory() instanceof AnvilInventory) {
System.out.println("Anvil inventory is being opened!");
event.setCancelled(true);
}
}
Please provide complete reproduction steps, a Geyser dump, and specify which Bedrock/Java versions this occurs with.
Closing due to no further response.
Describe the bug
When mobile Bedrock users click on anvil I cancel InventoryOpenEvent but it shows anyways.
To Reproduce
Expected behaviour
Anvil should not open.
Screenshots / Videos
No response
Server Version and Plugins
No response
Geyser Dump
No response
Geyser Version
55e90b6
Minecraft: Bedrock Edition Device/Version
Mobile/Pocket Edition latest
Additional Context
No response