mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
php8.2 fixes
This commit is contained in:
parent
d7d346a237
commit
6d89c50e43
13 changed files with 33 additions and 26 deletions
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue