mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +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();
|
double z = pos.get(2).getValue();
|
||||||
Extent extent = context.getExtent();
|
Extent extent = context.getExtent();
|
||||||
Location location = new Location(extent, x, y, z, 0, 0);
|
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);
|
EntityType type = EntityTypes.parse(id);
|
||||||
BaseEntity entity = new BaseEntity(type, tag);
|
BaseEntity entity = new BaseEntity(type, tag);
|
||||||
extent.createEntity(location, entity, tag.getUUID());
|
extent.createEntity(location, entity, tag.getUUID());
|
||||||
|
Loading…
Reference in New Issue
Block a user