mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Merge pull request #416 from Qveshn/fix/paste-double-transformation
Fix entities double transformation copy-rotate-paste and stack
This commit is contained in:
commit
6e22a8a4f0
@ -243,6 +243,8 @@ public class ForwardExtentCopy implements Operation {
|
||||
|
||||
if (currentTransform == null) {
|
||||
currentTransform = transform;
|
||||
} else {
|
||||
currentTransform = currentTransform.combine(transform);
|
||||
}
|
||||
|
||||
ExtentBlockCopy blockCopy = new ExtentBlockCopy(source, from, destination, to, currentTransform);
|
||||
@ -251,7 +253,6 @@ public class ForwardExtentCopy implements Operation {
|
||||
RegionVisitor blockVisitor = new RegionVisitor(region, function);
|
||||
|
||||
lastVisitor = blockVisitor;
|
||||
currentTransform = currentTransform.combine(transform);
|
||||
|
||||
if (copyingEntities) {
|
||||
ExtentEntityCopy entityCopy = new ExtentEntityCopy(from, destination, to, currentTransform);
|
||||
|
Loading…
Reference in New Issue
Block a user