Bitmask block state

This commit is contained in:
Shoghi Cervantes 2014-12-23 13:58:30 +01:00
parent 6cb88afe1a
commit 7ecac019a9

View File

@ -966,7 +966,7 @@ class Level implements ChunkManager, Metadatable{
$fullState = 0;
}
$block = clone $this->blockStates[$fullState];
$block = clone $this->blockStates[$fullState & 0xfff];
$block->x = $pos->x;
$block->y = $pos->y;