Fix reading of tile entities with "id" instead of "Id" tag (#2211)

This commit is contained in:
Marco Neuhaus 2023-05-20 11:57:13 +02:00 committed by GitHub
parent a14035d430
commit 52723439dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -266,8 +266,8 @@ public class SpongeSchematicReader extends NBTSchematicReader {
if (id == null) { if (id == null) {
continue; continue;
} }
values.put("id", id);
//FAWE end //FAWE end
values.put("id", values.get("Id"));
values.remove("Id"); values.remove("Id");
values.remove("Pos"); values.remove("Pos");
if (fixer != null) { if (fixer != null) {