php8.2 fixes

This commit is contained in:
GameHerobrine 2023-07-03 07:10:04 +03:00
parent d7d346a237
commit 6d89c50e43
13 changed files with 33 additions and 26 deletions

View file

@ -5,7 +5,7 @@ class MinecraftInterface{
public $bandwidth;
private $socket;
private $packets;
public $start, $stop;
function __construct($server, $port = 25565, $serverip = "0.0.0.0"){
$this->socket = new UDPSocket($server, $port, true, $serverip);
if($this->socket->connected === false){