mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 04:59:46 +00:00
Improved internal Client IDs
This commit is contained in:
parent
f7a12b09f7
commit
7312c57123
2 changed files with 2 additions and 2 deletions
|
|
@ -511,7 +511,7 @@ class PocketMinecraftServer{
|
||||||
}
|
}
|
||||||
|
|
||||||
public function clientID($ip, $port){
|
public function clientID($ip, $port){
|
||||||
return md5($ip . $port, true);
|
return md5($ip . $port, true) ^ sha1($port . $ip, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function packetHandler($packet){
|
public function packetHandler($packet){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue