1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2025-12-19 14:59:27 +00:00

Fix: allow glass bottle to use touch rotation (#5706)

This commit is contained in:
oryxel
2025-07-19 19:54:43 +07:00
committed by GitHub
parent 5a00fa4170
commit 1f23d1d1e2

View File

@@ -320,7 +320,7 @@ public class BedrockInventoryTransactionTranslator extends PacketTranslator<Inve
// ServerboundUseItemPacket is not sent for water cauldrons and glass bottles // ServerboundUseItemPacket is not sent for water cauldrons and glass bottles
return; return;
} }
useItem(session, packet, blockState.javaId(), false); useItem(session, packet, blockState.javaId(), true);
} else if (session.getItemMappings().getBuckets().contains(definition)) { } else if (session.getItemMappings().getBuckets().contains(definition)) {
// Don't send ServerboundUseItemPacket for powder snow buckets // Don't send ServerboundUseItemPacket for powder snow buckets
if (definition != session.getItemMappings().getStoredItems().powderSnowBucket().getBedrockDefinition()) { if (definition != session.getItemMappings().getStoredItems().powderSnowBucket().getBedrockDefinition()) {