Update BlockInfo.js
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user