diff --git a/bukkit-plugin/scriptcraft.jar b/bukkit-plugin/scriptcraft.jar index 1e54584..2379e01 100644 Binary files a/bukkit-plugin/scriptcraft.jar and b/bukkit-plugin/scriptcraft.jar differ diff --git a/js-plugins/arrows.js b/js-plugins/arrows.js index 2741617..2823bcd 100644 --- a/js-plugins/arrows.js +++ b/js-plugins/arrows.js @@ -16,9 +16,9 @@ * /js arrows.explosive('player23') makes player23's arrows explosive. * ************************************************************************/ - -load(__folder + "signs/select.js"); -load(__folder + "bukkit/events.js"); +var rootDir = __folder; +load(rootDir + "signs/select.js"); +load(rootDir + "bukkit/events.js"); var arrows = arrows || {}; // ------------------------------------------------------------------------ // Private implementation