mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Basic Compatiable && Code Clean
This commit is contained in:
parent
d5a3a415b3
commit
153acc4002
6 changed files with 11 additions and 23 deletions
|
|
@ -527,7 +527,6 @@ class PlayerAPI{
|
|||
*/
|
||||
public static function decodeProtocol($ip, $port){
|
||||
foreach(ServerAPI::request()->clients as $p) {
|
||||
ConsoleAPI::info($p->ip);
|
||||
if($p->ip == $ip && $p->port == $port){
|
||||
return $p->PROTOCOL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue