CommandHelper

CommandHelper

46.5k Downloads

Empty Vector Arrays

LadyCailinBot opened this issue ยท 2 comments

commented

CMDHELPER-3081 - Reported by PseudoKnight

Ever since the big vector commit empty arrays no longer create a vector of (0, 0, 0). This looks intentional, which is fine. However set_entity_velocity() docs in particular explain support for an empty array. The docs need to be updated or the function needs special handling. I do not believe this caused issues in any other function/event.

commented

Comment by LadyCailin

Lets just update the docs for this one then, so it's consistent.

commented

Comment by jb_aero

It was intended for that function to accept an empty array == the 0 vector.