mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-06 11:57:10 +00:00
Bitmask block state
This commit is contained in:
parent
6cb88afe1a
commit
7ecac019a9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user