3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-05 11:00:05 +01:00

Fixed //stack -s (again).

Dieser Commit ist enthalten in:
TomyLobo 2011-12-18 22:43:08 +01:00
Ursprung 4b3564a9ac
Commit 936aff06b2

Datei anzeigen

@ -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);