Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-03 01:50:07 +01:00
Only negative radius allowed for //butcher is -1.
Dieser Commit ist enthalten in:
Ursprung
867e59ba3d
Commit
c9f54ecb01
@ -395,6 +395,10 @@ public class UtilityCommands {
|
|||||||
// there might be a better way to do this but my brain is fried right now
|
// there might be a better way to do this but my brain is fried right now
|
||||||
if (args.argsLength() > 0) { // user inputted radius, override the default
|
if (args.argsLength() > 0) { // user inputted radius, override the default
|
||||||
radius = args.getInteger(0);
|
radius = args.getInteger(0);
|
||||||
|
if (radius < -1) {
|
||||||
|
actor.printError("Use -1 to remove all mobs in loaded chunks");
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (config.butcherMaxRadius != -1) { // clamp if there is a max
|
if (config.butcherMaxRadius != -1) { // clamp if there is a max
|
||||||
if (radius == -1) {
|
if (radius == -1) {
|
||||||
radius = config.butcherMaxRadius;
|
radius = config.butcherMaxRadius;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren