We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5839a8 commit be656ebCopy full SHA for be656eb
src/legacy/legacyapi/form/FormPacketHelper.cpp
@@ -172,8 +172,8 @@ LL_AUTO_TYPE_INSTANCE_HOOK(
172
NetEventCallback& callback,
173
std::shared_ptr<Packet>& packet
174
) {
175
- auto handle = ll::memory::dAccess<ServerNetworkHandler*>(&callback, -16);
176
- if (auto player = handle->_getServerPlayer(source, SubClientId::PrimaryClient); player) {
+ auto& handle = ll::memory::dAccess<ServerNetworkHandler>(&callback, -16);
+ if (auto player = handle._getServerPlayer(source, SubClientId::PrimaryClient); player) {
177
auto& modalPacket = (ModalFormResponsePacket&)*packet;
178
179
auto data = std::string{"null"};
0 commit comments