Tiny fix
This commit is contained in:
parent
8a5fb59a7e
commit
71fab26845
@ -538,7 +538,7 @@ public class BrushCommands {
|
||||
|
||||
@Command(
|
||||
aliases = { "stencil", "color"},
|
||||
usage = "<pattern> [radius] [depth] [file|#clipboard|null] [rotation] [yscale]",
|
||||
usage = "<pattern> [radius] [file|#clipboard|null] [rotation] [yscale]",
|
||||
desc = "Use a height map to paint a surface",
|
||||
help =
|
||||
"Chooses the stencil brush.\n" +
|
||||
@ -600,7 +600,7 @@ public class BrushCommands {
|
||||
help =
|
||||
"Chooses the Splatter brush.",
|
||||
min = 1,
|
||||
max = 4
|
||||
max = 5
|
||||
)
|
||||
@CommandPermissions("worldedit.brush.splatter")
|
||||
public void splatterBrush(Player player, EditSession editSession, LocalSession session, Pattern fill, @Optional("5") double radius, @Optional("1") double points, @Optional("5") double recursion, @Optional("true") boolean solid) throws WorldEditException {
|
||||
|
@ -101,7 +101,7 @@ public class DefaultMaskParser extends FaweParser<Mask> {
|
||||
public void addMask(String id, Class<? extends CustomMask> clazz) {
|
||||
checkNotNull(clazz);
|
||||
checkNotNull(id);
|
||||
customMasks.put(id, clazz);
|
||||
customMasks.put(id.toLowerCase(), clazz);
|
||||
}
|
||||
|
||||
public static Map<String, Class<? extends CustomMask>> getCustomMasks() {
|
||||
|
Loading…
Reference in New Issue
Block a user