Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-05 02:50:05 +01:00
fix //removenear exception for size < 1
Dieser Commit ist enthalten in:
Ursprung
4198932432
Commit
193361ac32
@ -366,6 +366,7 @@ public class UtilityCommands extends MethodCommands {
|
||||
@Logging(PLACEMENT)
|
||||
public void removeNear(Player player, LocalSession session, EditSession editSession, Mask mask, @Optional("50") double size) throws WorldEditException {
|
||||
worldEdit.checkMaxRadius(size);
|
||||
size = Math.max(1, size);
|
||||
int affected = editSession.removeNear(session.getPlacementPosition(player), mask, (int) size);
|
||||
player.print(BBC.getPrefix() + affected + " block(s) have been removed.");
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren