mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Fixed //stack -s (again).
This commit is contained in:
parent
4b3564a9ac
commit
936aff06b2
@ -302,7 +302,7 @@ public class RegionCommands {
|
|||||||
final Region region = session.getSelection(player.getWorld());
|
final Region region = session.getSelection(player.getWorld());
|
||||||
final Vector size = region.getMaximumPoint().subtract(region.getMinimumPoint());
|
final Vector size = region.getMaximumPoint().subtract(region.getMinimumPoint());
|
||||||
|
|
||||||
final Vector shiftVector = dir.multiply(count * Math.abs(size.dot(size)));
|
final Vector shiftVector = dir.multiply(count * (Math.abs(dir.dot(size))+1));
|
||||||
region.expand(shiftVector);
|
region.expand(shiftVector);
|
||||||
region.contract(shiftVector);
|
region.contract(shiftVector);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user