mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-08-27 16:09:34 +02:00
Tiny fix
This commit is contained in:
parent
8a5fb59a7e
commit
71fab26845
|
@ -538,7 +538,7 @@ public class BrushCommands {
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
aliases = { "stencil", "color"},
|
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",
|
desc = "Use a height map to paint a surface",
|
||||||
help =
|
help =
|
||||||
"Chooses the stencil brush.\n" +
|
"Chooses the stencil brush.\n" +
|
||||||
|
@ -600,7 +600,7 @@ public class BrushCommands {
|
||||||
help =
|
help =
|
||||||
"Chooses the Splatter brush.",
|
"Chooses the Splatter brush.",
|
||||||
min = 1,
|
min = 1,
|
||||||
max = 4
|
max = 5
|
||||||
)
|
)
|
||||||
@CommandPermissions("worldedit.brush.splatter")
|
@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 {
|
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) {
|
public void addMask(String id, Class<? extends CustomMask> clazz) {
|
||||||
checkNotNull(clazz);
|
checkNotNull(clazz);
|
||||||
checkNotNull(id);
|
checkNotNull(id);
|
||||||
customMasks.put(id, clazz);
|
customMasks.put(id.toLowerCase(), clazz);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Map<String, Class<? extends CustomMask>> getCustomMasks() {
|
public static Map<String, Class<? extends CustomMask>> getCustomMasks() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user