Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-07 20:10:06 +01:00
Update block NBT to include the coordinates when saving to history
fixes #708 and fixes #655
Dieser Commit ist enthalten in:
Ursprung
e4709eb6dc
Commit
3a3bf7382d
@ -137,7 +137,10 @@ public abstract class AbstractChangeSet implements ChangeSet, IBatchProcessor {
|
|||||||
}
|
}
|
||||||
if (!tilesTo.isEmpty()) {
|
if (!tilesTo.isEmpty()) {
|
||||||
for (Map.Entry<BlockVector3, CompoundTag> entry : tilesTo.entrySet()) {
|
for (Map.Entry<BlockVector3, CompoundTag> entry : tilesTo.entrySet()) {
|
||||||
addTileCreate(entry.getValue());
|
CompoundTag nbt = entry.getValue();
|
||||||
|
BlockVector3 pos = entry.getKey();
|
||||||
|
MainUtil.setPosition(nbt, pos.getX() + bx, pos.getY(), pos.getZ() + bz);
|
||||||
|
addTileCreate(nbt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Set<UUID> entRemoves = set.getEntityRemoves();
|
Set<UUID> entRemoves = set.getEntityRemoves();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren