Skip to content

Commit

Permalink
fix world unloads event, fixes #2051
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Sep 28, 2019
1 parent 50c13fc commit a5c3c07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public boolean couldMatch(ScriptPath path) {
if (path.eventArgLowerAt(0).equals("chunk")) {
return false;
}
return path.eventArgLowerAt(1).equals("saves");
return path.eventArgLowerAt(1).equals("unloads");
}

@Override
Expand Down

0 comments on commit a5c3c07

Please sign in to comment.