3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-07-25 03:28:03 +02:00

Fix rotation breaking NBT data:

- Don't only copy NBT over if the original block had a Rot tag
Dieser Commit ist enthalten in:
dordsor21 2020-03-30 16:01:50 +01:00
Ursprung 3d8303a227
Commit 76efbed4b2
2 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -337,8 +337,8 @@ public class BlockTransformExtent extends ResettableExtent {
values.put("Rot", new ByteTag((byte) MCDirections.toRotation(newDirection)));
}
}
return new BaseBlock(transformed, tag);
}
return new BaseBlock(transformed, tag);
}
return transformed.toBaseBlock();
}

Datei anzeigen

@ -365,8 +365,7 @@ public class ForwardExtentCopy implements Operation {
};
}
copy = new CombinedBlockCopy(source, finalDest, copySrcFunc);
}
else {
} else {
copy = new SimpleBlockCopy(source, finalDest);
}
if (this.filterFunction != null) {