CommandHelper

CommandHelper

46.5k Downloads

LocalPackages not processing in documented order

LadyCailin opened this issue · 1 comments

commented

CMDHELPER-2651 - Reported by surfarcher on 2013-04-16 21:52:46 UTC

According to http://wiki.sk89q.com/wiki/CommandHelper/Local_Packages#Inter-Package_Interaction "main.ms and auto_include.ms will always run first". I take that to mean that main.ms should be processed before all other .ms files.

Repro using CommandHelper:

  1. Create subdirectory "a" under LocalPackagesct
  2. In subdirectory "a" create the following files...
    • main.ms, containing...
    • console('main.ms')
    • a.ms, containing...
    • console('a.ms')
  3. Start Bukkit -OR- execute /reloadaliases

Expected output in console...
main.ms
a.ms

Actual output...
a.ms
main.ms

Bukkit build git-Bukkit-1.5.1-R0.2-1-gcbaf4f3-b2755jnks
CommandHelper build v1469-5c96ebb

I assume this is a bug, though it might be an error or inaccuracy in documentation.

Workaround:
Rename main.ms to 00main.ms

commented

Comment by LadyCailin on 2014-01-17 20:09:59 UTC

The documentation is incorrect. It has been resolved. Only auto_include.ms is handled specially.