Basic Compatiable && Code Clean

This commit is contained in:
yefengeeeeeeeeeee 2026-04-06 17:12:19 +08:00
parent d5a3a415b3
commit 153acc4002
6 changed files with 11 additions and 23 deletions

View file

@ -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;
}