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
1 changed files with 1 additions and 0 deletions

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);
}
}