Skip to content

Commit

Permalink
Fix sign command meta
Browse files Browse the repository at this point in the history
  • Loading branch information
Morphan1 committed Jul 1, 2016
1 parent f3ca89a commit f510fd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Expand Up @@ -3071,16 +3071,14 @@ public void registerCoreMembers() {

// <--[command]
// @Name Sign
// @Syntax sign (type:{sign_post}/wall_sign) ["<line>|..."] [<location>] (direction:n/e/w/s)
// @Syntax sign (type:{automatic}/sign_post/wall_sign) ["<line>|..."] [<location>] (direction:n/e/w/s)
// @Required 1
// @Stable stable
// @Short Modifies a sign.
// @Author David Cernat, mcmonkey
// @Group world
// @Description
// TODO: Document Command Details
// Specify 'automatic' as a type to use whatever sign type and direction is already placed there.
// If there is not already a sign there, defaults to a sign_post.
// @Tags
// <l@location.block.sign_contents>
// @Usage
Expand Down
Expand Up @@ -58,7 +58,7 @@ else if (!scriptEntry.hasObject("text")) {
throw new InvalidArgumentsException("Must specify sign text!");
}

// Default to SIGN_POST type
// Default to AUTOMATIC
scriptEntry.defaultObject("type", new Element(Type.AUTOMATIC.name()));
}

Expand Down

0 comments on commit f510fd4

Please sign in to comment.