Fixed scripting.timeout setting taking no effect.

This commit is contained in:
sk89q 2011-01-29 09:50:28 -08:00
parent b78d43d95c
commit cd298c3099

View File

@ -830,7 +830,7 @@ public class WorldEdit {
}
}
engine.setTimeLimit(3000);
engine.setTimeLimit(config.scriptTimeout);
Map<String, Object> vars = new HashMap<String, Object>();
vars.put("argv", args);