Fix contains checking wrong variable (#10668)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user