Improved internal Client IDs

This commit is contained in:
Shoghi Cervantes Pueyo 2013-03-30 21:09:12 +01:00
parent f7a12b09f7
commit 7312c57123
2 changed files with 2 additions and 2 deletions

View File

@ -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){