TakeItem bug

Issue #31 resolved
Fabian Maurer created an issue

If a metadata is supplied it ignored the metadata and uses the number as metadata.

Cause: In "MobTalker2Lib.TakeItem.call"

int meta = arg3.isNil() ? -1 : (int)arg2.asNumber().toJava();

must be

int meta = arg3.isNil() ? -1 : (int)arg3.asNumber().toJava();

Comments (1)

  1. Log in to comment