Skip to content

Commit

Permalink
fix: fix symbol of PlayerListPacket::_read
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Jun 17, 2023
1 parent 0e8a05f commit e2d5762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LiteLoader/src/liteloader/BuiltinBugFix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ TClasslessInstanceHook(void, "?sendEvent@ActorEventCoordinator@@QEAAXAEBV?$Event
#include "llapi/mc/ExtendedStreamReadResult.hpp"

TInstanceHook(ExtendedStreamReadResult,
"?read@PlayerListPacket@@UEAA?AUExtendedStreamReadResult@@AEAVReadOnlyBinaryStream@@@Z",
"?_read@PlayerListPacket@@EEAA?AUExtendedStreamReadResult@@AEAVReadOnlyBinaryStream@@@Z",
PlayerListPacket, ReadOnlyBinaryStream) {
return ExtendedStreamReadResult{StreamReadResult::Valid, ""};
}
Expand Down

0 comments on commit e2d5762

Please sign in to comment.