mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Fix some temporary inventory blocks not disappearing
This commit is contained in:
parent
2265de3ae9
commit
3ba396e625
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ public class BlockInventoryHolder extends InventoryHolder {
|
||||||
blockPacket.setDataLayer(0);
|
blockPacket.setDataLayer(0);
|
||||||
blockPacket.setBlockPosition(holderPos);
|
blockPacket.setBlockPosition(holderPos);
|
||||||
blockPacket.setRuntimeId(BlockTranslator.getBedrockBlockId(realBlock));
|
blockPacket.setRuntimeId(BlockTranslator.getBedrockBlockId(realBlock));
|
||||||
|
blockPacket.getFlags().addAll(UpdateBlockPacket.FLAG_ALL_PRIORITY);
|
||||||
session.sendUpstreamPacket(blockPacket);
|
session.sendUpstreamPacket(blockPacket);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue