Skip to content

Commit

Permalink
🛠️ Fix #340
Browse files Browse the repository at this point in the history
  • Loading branch information
SnaveSutit committed Dec 30, 2024
1 parent 339345e commit 83acc4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/outliner/vanillaBlockDisplay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ export class VanillaBlockDisplay extends ResizableOutlinerElement {
this.block ??= 'minecraft:stone'
this.config ??= {}

this.sanitizeName()

const updateBlock = async (newBlock: string) => {
if (!MINECRAFT_REGISTRY.block) {
requestAnimationFrame(() => void updateBlock(newBlock))
Expand Down

0 comments on commit 83acc4f

Please sign in to comment.