Skip to content

Commit 066d464

Browse files
committed
fix: fix wrong code
1 parent 26eaa19 commit 066d464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/legacy/api/PlayerAPI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1644,7 +1644,7 @@ Local<Value> PlayerClass::getEnderChest(const Arguments& args) {
16441644
3248
16451645
); // Todo: please remove it when LeviLamina 0.11.1 released
16461646
if (enderChest) {
1647-
return ContainerClass::newContainer(chest);
1647+
return ContainerClass::newContainer(enderChest);
16481648
}
16491649
}
16501650
return {};

0 commit comments

Comments
 (0)