mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-05 04:26:42 +00:00
Clamped Y for //expand and //contract operations.
This commit is contained in:
@ -168,6 +168,9 @@ public class CuboidRegion implements Region {
|
||||
pos2 = pos2.add(new Vector(0, 0, change.getZ()));
|
||||
}
|
||||
}
|
||||
|
||||
pos1 = pos1.clampY(0, 127);
|
||||
pos2 = pos2.clampY(0, 127);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -217,6 +220,9 @@ public class CuboidRegion implements Region {
|
||||
pos2 = pos2.add(new Vector(0, 0, change.getZ()));
|
||||
}
|
||||
}
|
||||
|
||||
pos1 = pos1.clampY(0, 127);
|
||||
pos2 = pos2.clampY(0, 127);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user