Fix some temporary inventory blocks not disappearing

This commit is contained in:
Camotoy 2020-12-28 00:47:10 -05:00
parent 2265de3ae9
commit 3ba396e625
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -96,6 +96,7 @@ public class BlockInventoryHolder extends InventoryHolder {
blockPacket.setDataLayer(0);
blockPacket.setBlockPosition(holderPos);
blockPacket.setRuntimeId(BlockTranslator.getBedrockBlockId(realBlock));
blockPacket.getFlags().addAll(UpdateBlockPacket.FLAG_ALL_PRIORITY);
session.sendUpstreamPacket(blockPacket);
}
}