LiteLDev / LegacyScriptEngine

A plugin engine for running LLSE plugins on LeviLamina
https://lse.liteldev.com/
GNU General Public License v3.0
43 stars 8 forks source link

[Bug]: player.getEnderChest(); return undefined #99

Closed AlphaMSq closed 5 months ago

AlphaMSq commented 5 months ago

Describe the bug

When using player.getEnderChest() it returns undefined in nodejs plugin.

To Reproduce

mc.listen("onJoin", (player) => { console.log(player.getEnderChest()); // returns undefined });

Expected behavior

Return the LLSE_Container object.

Screenshots

No response

Platform

Windows Server 2022

BDS Version

1.20.72.1

LeviLamina Version

LeviLamina-0.10.5+d9516c73d

LegacyScriptEngine Version

0.5.4

Additional context

No response