CommandHelper

CommandHelper

46.5k Downloads

play_note() may cause an error

LadyCailinBot opened this issue · 4 comments

commented

CMDHELPER-2908 - Reported by Алексей.Положенцев

Yes, i know, its because of my silly mistake =), but:
http://pastebin.com/V9MjGiBh

commented

Comment by jb_aero

please provide the script, we are not mind readers.

commented

Comment by Алексей.Положенцев

heh, stacktrace gives all information. Ok, for example, /note = play_note(array(octave: 0, note: 'F#'))

commented

Comment by PseudoKnight

The compiler should be throwing an "Incorrect number of arguments" exception.

commented

Comment by LadyCailin

Fixed, and in fact, this was broken for all functions where you provided the wrong number of arguments.