Skip to content

Commit 83acc4f

Browse files
committed
🛠️ Fix #340
1 parent 339345e commit 83acc4f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/outliner/vanillaBlockDisplay.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ export class VanillaBlockDisplay extends ResizableOutlinerElement {
6969
this.block ??= 'minecraft:stone'
7070
this.config ??= {}
7171

72+
this.sanitizeName()
73+
7274
const updateBlock = async (newBlock: string) => {
7375
if (!MINECRAFT_REGISTRY.block) {
7476
requestAnimationFrame(() => void updateBlock(newBlock))

0 commit comments

Comments
 (0)