Entity metadata

This commit is contained in:
Shoghi Cervantes Pueyo 2013-01-27 13:32:55 +01:00
parent d69291e2fa
commit 2eb93c1676
4 changed files with 64 additions and 17 deletions

View file

@ -184,7 +184,7 @@ class Utils extends Thread{
$r = array();
$r[] = Utils::readLShort(substr($value, $offset, 2));
$offset += 2;
$r[] = Utils::readByte($value{$offset});
$r[] = ord($value{$offset});
++$offset;
$r[] = Utils::readLShort(substr($value, $offset, 2));
$offset += 2;