Entity Motion packet (WiP)

This commit is contained in:
Shoghi Cervantes Pueyo 2013-01-28 22:48:18 +01:00
parent f8179f0f7c
commit 862947ab6b
4 changed files with 32 additions and 4 deletions

View file

@ -539,6 +539,7 @@ class PocketMinecraftServer{
$version = $data[1];
$size = strlen($data[2]);
if($version !== CURRENT_PROTOCOL){
console("[DEBUG] Incorrect protocol #$version from ".$packet["ip"].":".$packet["port"], true, true, 2);
$this->send(0x1a, array(
CURRENT_PROTOCOL,
MAGIC,