mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-03 04:23:39 +00:00
Fix Actor::hasCategory offset
This commit is contained in:
parent
e5eef86dd1
commit
096214efc4
@ -175,7 +175,7 @@ public:
|
||||
};
|
||||
inline bool hasCategory(enum ActorCategory actorCategory) const{
|
||||
// IDA Player::take Line123
|
||||
return (dAccess<ActorCategory>(this, 79) & actorCategory) !=0;
|
||||
return (dAccess<ActorCategory>(this, 316) & actorCategory) !=0;
|
||||
};
|
||||
inline BlockSource & getRegion() {
|
||||
//VanillaServerGameplayEventListener::onBlockPlacedByPlayer Line35
|
||||
|
Loading…
Reference in New Issue
Block a user