mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-05 12:36:40 +00:00
minor tweak for mutable vectors
This commit is contained in:
@ -18,7 +18,7 @@ public class BackwardsExtentBlockCopy implements Operation {
|
||||
private final RegionFunction function;
|
||||
private final BlockVector3 origin;
|
||||
|
||||
// private Vector mutable = new MutableBlockVector();
|
||||
// private Vector mutable = new MutableBlockVector3();
|
||||
|
||||
public BackwardsExtentBlockCopy(Extent source, Region region, Extent destination, BlockVector3 origin, Transform transform, RegionFunction function) {
|
||||
this.source = source;
|
||||
|
@ -369,7 +369,7 @@ public class ForwardExtentCopy implements Operation {
|
||||
if (!entities.isEmpty()) {
|
||||
ExtentEntityCopy entityCopy = new ExtentEntityCopy(from.toVector3(), destination, to.toVector3(), currentTransform);
|
||||
// if (copyingEntities) {
|
||||
// ExtentEntityCopy entityCopy = new ExtentEntityCopy(from.toVector3(), destination, to.toVector3(), currentTransform);
|
||||
// ExtentEntityCopy entityCopy = new ExtentEntityCopy(from, destination, to, currentTransform);
|
||||
entityCopy.setRemoving(removingEntities);
|
||||
EntityVisitor entityVisitor = new EntityVisitor(entities.iterator(), entityCopy);
|
||||
Operations.completeBlindly(entityVisitor);
|
||||
|
Reference in New Issue
Block a user