Update BlockInfo.js

This commit is contained in:
2025-12-20 18:47:14 +08:00
Unverified
parent 874eff29d4
commit 3382a52ec7
-3
View File
@@ -12,9 +12,6 @@ class BlockInfo {
this.showStructureBlockInfo(player);
}
}
/**
* @param {import('@minecraft/server').Player} player
* */
static showStructureBlockInfo(player) {
const block = Raycaster.getTargetedStructureBlock(player, { isFirst: true, collideWithWorldBlocks: true, useActiveLayer: true });
if (!block && this.shownToLastTick.has(player.id)) {