mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Update block NBT to include the coordinates when saving to history
fixes #708 and fixes #655
This commit is contained in:
parent
e4709eb6dc
commit
3a3bf7382d
@ -137,7 +137,10 @@ public abstract class AbstractChangeSet implements ChangeSet, IBatchProcessor {
|
||||
}
|
||||
if (!tilesTo.isEmpty()) {
|
||||
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();
|
||||
|
Loading…
Reference in New Issue
Block a user