mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Getting correct String from CompoundTag (#1867)
This commit is contained in:
parent
def84a80c6
commit
902f153929
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user