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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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);
}