Fixed //drawsel

This commit is contained in:
Matthew Miller
2019-04-28 17:05:37 +10:00
parent 6e016a66f0
commit 32d4b36419
4 changed files with 4 additions and 40 deletions

View File

@ -161,7 +161,7 @@ public class GeneralCommands {
)
@CommandPermissions("worldedit.drawsel")
public void drawSelection(Player player, LocalSession session,
@Arg(desc = "The new draw selection state", def = "toggle")
@Arg(desc = "The new draw selection state", def = "")
Boolean drawSelection) throws WorldEditException {
if (!WorldEdit.getInstance().getConfiguration().serverSideCUI) {
throw new DisallowedUsageException("This functionality is disabled in the configuration!");