Fixed ChunkData, faster, action queue, NACK

This commit is contained in:
Shoghi Cervantes Pueyo
2012-12-14 14:27:15 +01:00
parent a7ec472ef4
commit 22ef626c4f
4 changed files with 55 additions and 15 deletions

View File

@ -60,7 +60,7 @@ class LevelAPI{
for($i = 0;$i < 0xff; ){
$ordered[$i] = str_repeat("\x00", $i);
for($j = 0; $j < $columnsPerPacket; ++$j){
if(($i + $j) >= 0xff){
if(($i + $j) > 0xff){
break;
}
$ordered[$i] .= "\xff";