Skip to content

Commit

Permalink
re-enable playerobject
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Jun 3, 2024
1 parent 528f099 commit 7f44d26
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/PlayerObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ using namespace geode::node_ids;
}
}

//TODO: 2.206
/*struct PlayerObjectIDs : Modify<PlayerObjectIDs, PlayerObject> {
struct PlayerObjectIDs : Modify<PlayerObjectIDs, PlayerObject> {
static void onModify(auto& self) {
if (!self.setHookPriority("PlayerObject::init", GEODE_ID_PRIORITY)) {
log::warn("Failed to set PlayerObject::init hook priority, node IDs may not work properly");
Expand All @@ -67,4 +66,4 @@ using namespace geode::node_ids;

return true;
}
};*/
};

0 comments on commit 7f44d26

Please sign in to comment.