This commit is contained in:
Jesse Boyd 2017-03-11 23:57:36 +11:00
parent 8a5fb59a7e
commit 71fab26845
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
2 changed files with 3 additions and 3 deletions

View File

@ -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 {

View File

@ -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() {