Skip to content

Commit 4d44253

Browse files
committed
Correct SendPacket inclusion
1 parent 4bb75da commit 4d44253

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OTAPI.Scripts/Mods/HookClientSendBytes.Server.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ void HookClientSendBytes(MonoModder modder)
6060
}
6161
}
6262

63-
#if TerrariaServer_1448_OrAbove
63+
#if TerrariaServer_1450_OrAbove
6464
var SendPacket = modder.GetILCursor(() => Terraria.NetMessage.SendPacket(default, default));
6565
// find each AsyncSend, replace with OTAPI.Hooks.NetMessage.InvokeSendBytes, and inject arg2 (remoteClient) as well.
6666
while (SendPacket.TryGotoNext(

0 commit comments

Comments
 (0)