From 902f153929fa07a6afc1dcc357fbe0f38475c3b0 Mon Sep 17 00:00:00 2001 From: Aeliios <75539311+Aeliios@users.noreply.github.com> Date: Sun, 3 Jul 2022 13:43:03 +0200 Subject: [PATCH] Getting correct String from CompoundTag (#1867) --- .../core/history/change/MutableEntityChange.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/history/change/MutableEntityChange.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/history/change/MutableEntityChange.java index b99c576ac..7fa4ddc6d 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/history/change/MutableEntityChange.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/history/change/MutableEntityChange.java @@ -78,7 +78,7 @@ public class MutableEntityChange implements Change { double z = pos.get(2).getValue(); Extent extent = context.getExtent(); Location location = new Location(extent, x, y, z, 0, 0); - String id = tag.getString("Id"); + String id = tag.getString("id"); EntityType type = EntityTypes.parse(id); BaseEntity entity = new BaseEntity(type, tag); extent.createEntity(location, entity, tag.getUUID());