From a684a0b333943670194e6b21600edbfbb27a23ca Mon Sep 17 00:00:00 2001 From: walterhiggins Date: Tue, 19 Feb 2013 22:38:23 +0000 Subject: [PATCH] fix issue #60 --- src/main/javascript/core/_scriptcraft.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/javascript/core/_scriptcraft.js b/src/main/javascript/core/_scriptcraft.js index 94ebf5a..d015284 100644 --- a/src/main/javascript/core/_scriptcraft.js +++ b/src/main/javascript/core/_scriptcraft.js @@ -321,6 +321,8 @@ var server = org.bukkit.Bukkit.server; other files in the same directory */ var sortByModule = function(a,b){ + a = _canonize(a); + b = _canonize(b); var aparts = (""+a).split(/\//); var bparts = (""+b).split(/\//); var adir = aparts[aparts.length-2];