Fixed spawning of Tile entities via chunk packets

This commit is contained in:
Shoghi Cervantes
2014-06-22 18:05:42 +02:00
parent 0d5eb149ab
commit 279a438ae6
33 changed files with 58 additions and 87 deletions

View File

@ -206,7 +206,7 @@ abstract class BaseChunk implements Chunk{
}
public function setBiomeColor($x, $z, $R, $G, $B){
$this->biomeColors[($z << 4) + $x] = 0x01000000 | (($R & 0xFF) << 16) | (($G & 0xFF) << 8) | ($B & 0xFF);
$this->biomeColors[($z << 4) + $x] = 0 | (($R & 0xFF) << 16) | (($G & 0xFF) << 8) | ($B & 0xFF);
}
public function getHighestBlockAt($x, $z){