Skip to content

Commit

Permalink
fix: fix getEnderChestContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Apr 13, 2024
1 parent 09a6751 commit 803fe0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mc/world/actor/player/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ bool Player::addAndRefresh(class ItemStack& item) {


optional_ref<EnderChestContainer> Player::getEnderChestContainer() {
return ll::memory::dAccess<EnderChestContainer*>(this, 3304);
return ll::memory::dAccess<EnderChestContainer*>(this, 3248);
// ida: Player::Player : EnderChestContainer::EnderChestContainer
}

optional_ref<EnderChestContainer const> Player::getEnderChestContainer() const {
return ll::memory::dAccess<EnderChestContainer*>(this, 3304);
return ll::memory::dAccess<EnderChestContainer*>(this, 3248);
}

0 comments on commit 803fe0b

Please sign in to comment.