Skip to content

Commit

Permalink
Fix lowercase block entity id tag in schematic
Browse files Browse the repository at this point in the history
  • Loading branch information
StackDoubleFlow committed Aug 23, 2024
1 parent 0364b17 commit 680a8f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/src/plot/worldedit/schematic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ fn read_block_container(
y: pos_array[1],
z: pos_array[2],
};
let id = nbt_as!(&val.get("Id").unwrap_or_else(|| &nbt["id"]), Value::String);
let id = nbt_as!(&val.get("Id").unwrap_or_else(|| &val["id"]), Value::String);
let data = match version {
2 => val,
3 => nbt_as!(&val["Data"], Value::Compound),
Expand Down

0 comments on commit 680a8f0

Please sign in to comment.