Skip to content

Commit

Permalink
Make 'on queue end' run instantly after no script entries detected.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan Babcock committed Mar 15, 2013
1 parent b13dd8f commit 72b1135
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/net/aufdemrand/denizen/scripts/ScriptQueue.java
Expand Up @@ -252,6 +252,11 @@ private void revolve() {

// Criteria met for a successful 'revolution' of this queue...
DenizenAPI.getCurrentInstance().getScriptEngine().revolve(this);
if (scriptEntries.isEmpty())
{
stop();
isStarted = false;
}
}


Expand Down

0 comments on commit 72b1135

Please sign in to comment.