Fix contains checking wrong variable (#10668)

This commit is contained in:
buthed010203
2025-04-16 15:07:33 -04:00
committed by GitHub
parent 9db19fafe7
commit 7d707a431f

View File

@@ -601,7 +601,7 @@ public class NetServer implements ApplicationListener{
@Remote(targets = Loc.client)
public static void serverBinaryPacketReliable(Player player, String type, byte[] contents){
if(netServer.customPacketHandlers.containsKey(type)){
if(netServer.customBinaryPacketHandlers.containsKey(type)){
for(var c : netServer.customBinaryPacketHandlers.get(type)){
c.get(player, contents);
}