mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Added MaxBrushRadiusException to WorldEditExceptionConverter.
This commit is contained in:
parent
723b8b6e63
commit
d7d7b2741a
@ -90,9 +90,14 @@ public class WorldEditExceptionConverter extends ExceptionConverterHelper {
|
|||||||
+ e.getBlockLimit() + ").");
|
+ e.getBlockLimit() + ").");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ExceptionMatch
|
||||||
|
public void convert(MaxBrushRadiusException e) throws CommandException {
|
||||||
|
throw new CommandException("Maximum brush radius (in configuration): " + worldEdit.getConfiguration().maxBrushRadius);
|
||||||
|
}
|
||||||
|
|
||||||
@ExceptionMatch
|
@ExceptionMatch
|
||||||
public void convert(MaxRadiusException e) throws CommandException {
|
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
|
@ExceptionMatch
|
||||||
|
Loading…
Reference in New Issue
Block a user