@@ -9,6 +9,10 @@ export class World {
this.blocks.set(key, { id, x, y, z, props });
}
removeBlock(x, y, z) {
this.blocks.delete(`${x},${y},${z}`);
updateBlock(x, y, z, newProps) {
const key = `${x},${y},${z}`;
const block = this.blocks.get(key);
The note is not visible to the blocked user.