Fix a few bugs in tool commands

This commit is contained in:
Kenzie Togami 2019-04-25 13:30:16 -07:00
parent 8c2b725f42
commit c05e1ed0cc
No known key found for this signature in database
GPG Key ID: 5D200B325E157A81
2 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ public class ToolUtilCommands {
@Command(
name = "material",
aliases = { "material" },
aliases = { "/material" },
desc = "Set the brush material"
)
@CommandPermissions("worldedit.brush.options.material")

View File

@ -65,8 +65,8 @@ public class TreeGenerator {
}
},
JUNGLE("Jungle tree", "jungle"),
SMALL_JUNGLE("Small jungle tree", "shortjungle", "smalljungle"),
SHORT_JUNGLE("Short jungle tree") {
SMALL_JUNGLE("Small jungle tree", "smalljungle"),
SHORT_JUNGLE("Short jungle tree", "shortjungle") {
@Override
public boolean generate(EditSession editSession, BlockVector3 pos) throws MaxChangedBlocksException {
return SMALL_JUNGLE.generate(editSession, pos);