mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Actually use fixed IDs in MCEdit reader.
Fixes WORLDEDIT-3947.
This commit is contained in:
parent
6e90c59136
commit
f75104f2ac
@ -206,6 +206,8 @@ public class MCEditSchematicReader extends NBTSchematicReader {
|
|||||||
}
|
}
|
||||||
if (values.isEmpty()) {
|
if (values.isEmpty()) {
|
||||||
t = null;
|
t = null;
|
||||||
|
} else {
|
||||||
|
t = new CompoundTag(values);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fixer != null && t != null) {
|
if (fixer != null && t != null) {
|
||||||
@ -378,6 +380,10 @@ public class MCEditSchematicReader extends NBTSchematicReader {
|
|||||||
return "note_block";
|
return "note_block";
|
||||||
case "Structure":
|
case "Structure":
|
||||||
return "structure_block";
|
return "structure_block";
|
||||||
|
case "Chest":
|
||||||
|
return "chest";
|
||||||
|
case "Sign":
|
||||||
|
return "sign";
|
||||||
default:
|
default:
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user