Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-10-07 06:10:06 +02:00
Getting correct String from CompoundTag (#1867)
Dieser Commit ist enthalten in:
Ursprung
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());
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren