Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-12 22:20:08 +01:00
Fix //flip using incorrect block directions.
Dieser Commit ist enthalten in:
Ursprung
184d02d2e3
Commit
ca1cecbdf4
@ -173,13 +173,13 @@ public final class BlockData {
|
|||||||
|
|
||||||
case BlockID.PISTON_BASE:
|
case BlockID.PISTON_BASE:
|
||||||
case BlockID.PISTON_STICKY_BASE:
|
case BlockID.PISTON_STICKY_BASE:
|
||||||
case BlockID.PISTON_EXTENSION:
|
case BlockID.PISTON_EXTENSION:
|
||||||
final int rest = data & ~0x7;
|
final int rest = data & ~0x7;
|
||||||
switch (data & 0x7) {
|
switch (data & 0x7) {
|
||||||
case 2: return 5 | rest;
|
case 2: return 5 | rest;
|
||||||
case 3: return 4 | rest;
|
case 3: return 4 | rest;
|
||||||
case 4: return 2 | rest;
|
case 4: return 2 | rest;
|
||||||
case 5: return 3 | rest;
|
case 5: return 3 | rest;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -398,11 +398,11 @@ public final class BlockData {
|
|||||||
|
|
||||||
switch (direction) {
|
switch (direction) {
|
||||||
case NORTH_SOUTH:
|
case NORTH_SOUTH:
|
||||||
flipX = 1;
|
flipZ = 1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WEST_EAST:
|
case WEST_EAST:
|
||||||
flipZ = 1;
|
flipX = 1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case UP_DOWN:
|
case UP_DOWN:
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren