mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 21:19:44 +00:00
Disallow joining invisible servers
This commit is contained in:
parent
7c9eec7869
commit
f093286fb2
1 changed files with 3 additions and 0 deletions
|
|
@ -560,6 +560,9 @@ class PocketMinecraftServer{
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 0x07:
|
case 0x07:
|
||||||
|
if($this->invisible === true){
|
||||||
|
break;
|
||||||
|
}
|
||||||
$port = $data[2];
|
$port = $data[2];
|
||||||
$MTU = $data[3];
|
$MTU = $data[3];
|
||||||
$clientID = $data[4];
|
$clientID = $data[4];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue