Skip to content

Commit

Permalink
Add a datedness warning to the listen command
Browse files Browse the repository at this point in the history
Old command is old.
  • Loading branch information
mcmonkey4eva committed Dec 14, 2014
1 parent 5217a19 commit 935154a
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -86,6 +86,9 @@ public void execute(ScriptEntry scriptEntry) throws CommandExecutionException {
dB.report(scriptEntry, getName(), action.debug() + (type != null ? type.debug() : "")
+ id.debug() + (finish_script != null ? finish_script.debug() : ""));

// TODO: Fully deprecate
dB.echoDebug(scriptEntry, "Warning: Listen is outdated and may become unsupported in the future.");

List<aH.Argument> arguments = (ArrayList<aH.Argument>) scriptEntry.getObject("args");

switch (Action.valueOf(action.asString().toUpperCase())) {
Expand Down

0 comments on commit 935154a

Please sign in to comment.