mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Improved internal Client IDs
This commit is contained in:
parent
f7a12b09f7
commit
7312c57123
@ -511,7 +511,7 @@ class PocketMinecraftServer{
|
||||
}
|
||||
|
||||
public function clientID($ip, $port){
|
||||
return md5($ip . $port, true);
|
||||
return md5($ip . $port, true) ^ sha1($port . $ip, true);
|
||||
}
|
||||
|
||||
public function packetHandler($packet){
|
||||
|
Loading…
x
Reference in New Issue
Block a user