Skip to content

Commit

Permalink
patch up event regexes
Browse files Browse the repository at this point in the history
Need to make more regexes
  • Loading branch information
mcmonkey4eva committed Jul 25, 2015
1 parent 4da7614 commit c673d08
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -162,7 +162,7 @@ private List<String> getAll(String cmd) {
// command
// <command_name>|... command (in <area>)
//
// @Regex on [^\s]+ command(in \w+)?
// @Regex ^on( [^\s]+)? command( in ((notable (cuboid|ellipsoid))|([^\s]+)))?$
//
// @Triggers when a player or console runs a Bukkit command. This happens before
// any code of established commands allowing scripters to 'override' existing commands.
Expand Down
Expand Up @@ -98,7 +98,7 @@ public void breakDown() {
// player enters notable cuboid
// player exits notable cuboid
//
// @Regex on player (?:enters|exits) (notable cuboid|(cu@)?\w+)
// @Regex on player (enters|exits) (notable cuboid|[^\s]+)
//
// @Triggers when a player enters or exits a notable cuboid.
// @Context
Expand Down
Expand Up @@ -335,7 +335,7 @@ private boolean isInteractive(Material material) {
// player (un)equips <item>
// player (un)equips [helmet/chestplate/leggings/boots]
//
// @Regex on player (un)equips (m@|i@)?\w+
// @Regex ^on player (un)?equips [^\s]+$
//
// @Triggers when a player (un)equips armor.
// @Context
Expand Down

0 comments on commit c673d08

Please sign in to comment.