Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-09 13:00:05 +01:00
Added MaxBrushRadiusException to WorldEditExceptionConverter.
Dieser Commit ist enthalten in:
Ursprung
723b8b6e63
Commit
d7d7b2741a
@ -90,9 +90,14 @@ public class WorldEditExceptionConverter extends ExceptionConverterHelper {
|
||||
+ e.getBlockLimit() + ").");
|
||||
}
|
||||
|
||||
@ExceptionMatch
|
||||
public void convert(MaxBrushRadiusException e) throws CommandException {
|
||||
throw new CommandException("Maximum brush radius (in configuration): " + worldEdit.getConfiguration().maxBrushRadius);
|
||||
}
|
||||
|
||||
@ExceptionMatch
|
||||
public void convert(MaxRadiusException e) throws CommandException {
|
||||
throw new CommandException("Maximum radius: " + worldEdit.getConfiguration().maxRadius);
|
||||
throw new CommandException("Maximum radius (in configuration): " + worldEdit.getConfiguration().maxRadius);
|
||||
}
|
||||
|
||||
@ExceptionMatch
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren