From 6bc8906fa87796fdef4ff58fdfba6e18cba33634 Mon Sep 17 00:00:00 2001 From: xiaoqch Date: Fri, 1 Oct 2021 20:40:33 +0800 Subject: [PATCH] fix getEnderChestContainer offset --- mc/Actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mc/Actor.cpp b/mc/Actor.cpp index 2b6f8435..da087840 100644 --- a/mc/Actor.cpp +++ b/mc/Actor.cpp @@ -245,7 +245,7 @@ Container* Player::getArmorContainer() { //获取末影箱 Container* Player::getEnderChestContainer() { - return FETCH(Container*, this + 4360);//IDA ReplaceItemCommand::execute 1086 + return FETCH(Container*, this + 4440);//IDA ReplaceItemCommand::execute 1086 } //设置一个装备