small change to packet sending method, entities are spawning again, raised mob spawner limit to 50

This commit is contained in:
GameHerobrine 2022-12-20 20:29:17 +03:00
parent d9c096357a
commit ddc7bea48b
4 changed files with 14 additions and 7 deletions

View file

@ -50,6 +50,6 @@ class UDPSocket{
return false;
}
return @socket_sendto($this->sock, $data, strlen($data), 0, $dest, $port);
return socket_sendto($this->sock, $data, strlen($data), MSG_DONTROUTE, $dest, $port);
}
}