diff --git a/LiteLoader/Header/MC/BlockLegacy.hpp b/LiteLoader/Header/MC/BlockLegacy.hpp index 5bf8bcb..f973fe1 100644 --- a/LiteLoader/Header/MC/BlockLegacy.hpp +++ b/LiteLoader/Header/MC/BlockLegacy.hpp @@ -25,8 +25,8 @@ public: inline int getBlockItemId() const{ //ItemStackBase::init(ItemStackBase *this, const struct BlockLegacy *a2, int a3) Line14 - int id = dAccess(this,134); - if(id < 0x100u) + unsigned int id = dAccess(this,268);//mID + if(id < 256u) return id; else return 255-id;