mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-02 10:57:11 +00:00
update //flip axis to modern directions
tested and working with: -no args when looking horizontally and vertically -n/s/e/w -f/b/l/r/u/d
This commit is contained in:
parent
1a0064bf4f
commit
2b29d1a253
@ -195,7 +195,7 @@ public class CuboidClipboard {
|
||||
final int height = getHeight();
|
||||
|
||||
switch (dir) {
|
||||
case NORTH_SOUTH:
|
||||
case WEST_EAST:
|
||||
final int wid = (int) Math.ceil(width / 2.0f);
|
||||
for (int xs = 0; xs < wid; ++xs) {
|
||||
for (int z = 0; z < length; ++z) {
|
||||
@ -214,7 +214,7 @@ public class CuboidClipboard {
|
||||
|
||||
break;
|
||||
|
||||
case WEST_EAST:
|
||||
case NORTH_SOUTH:
|
||||
final int len = (int) Math.ceil(length / 2.0f);
|
||||
for (int zs = 0; zs < len; ++zs) {
|
||||
for (int x = 0; x < width; ++x) {
|
||||
|
Loading…
Reference in New Issue
Block a user