geforkt von Mirrors/FastAsyncWorldEdit
Fixed EditSession.makeCylinder's mimimum height check
Dieser Commit ist enthalten in:
Ursprung
437ad14880
Commit
9f1cc0674d
@ -13,6 +13,7 @@
|
|||||||
- Update for new events system
|
- Update for new events system
|
||||||
- Fixed /scriptname.js and no-double-slash settings not working
|
- Fixed /scriptname.js and no-double-slash settings not working
|
||||||
- Corrected usage message for maze.js
|
- Corrected usage message for maze.js
|
||||||
|
- Fixed mimimum height check for cylinder generation
|
||||||
|
|
||||||
5.1.1:
|
5.1.1:
|
||||||
- Fixed some compatibility issues with SpoutPlugin
|
- Fixed some compatibility issues with SpoutPlugin
|
||||||
|
@ -2077,8 +2077,8 @@ public class EditSession {
|
|||||||
pos = pos.subtract(0, height, 0);
|
pos = pos.subtract(0, height, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pos.getBlockY() - height - 1 < 0) {
|
if (pos.getBlockY() < 0) {
|
||||||
height = pos.getBlockY() + 1;
|
pos = pos.setY(0);
|
||||||
} else if (pos.getBlockY() + height - 1 > world.getMaxY()) {
|
} else if (pos.getBlockY() + height - 1 > world.getMaxY()) {
|
||||||
height = world.getMaxY() - pos.getBlockY() + 1;
|
height = world.getMaxY() - pos.getBlockY() + 1;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren