Skip to content

Commit

Permalink
Added help to /is warp with no parameter. Improved locale clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Aug 20, 2019
1 parent 8c6fb4f commit 57bed61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public boolean execute(User user, String label, List<String> args) {
}
}
}
showHelp(this, user);
return false;
}

Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/locales/en-US.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
warp:
help:
description: "warp to the player's warp sign"
parameters: <name>
parameters: <player name>
warps:
deactivate: "&cOld warp sign deactivated!"
error:
Expand All @@ -18,7 +18,7 @@ warps:
not-enough-level: "&CYour island level is not high enough!"
not-on-island: "&CYou must be on your island to do that!"
not-safe: "&cThat warp is not safe!"
your-level-is: "&cYou island level is only [level] and must be higher than [required]"
your-level-is: "&cYou island level is only [level] and must be higher than [required]. Run the level command."
help:
description: "open the warps panel"
next: "&6Next page"
Expand Down

0 comments on commit 57bed61

Please sign in to comment.