mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 16:59:44 +00:00
Fixed merge error
This commit is contained in:
parent
98efd27543
commit
8b350808ef
@ -83,6 +83,7 @@ class SubChunk implements SubChunkInterface{
|
|||||||
$changed = true;
|
$changed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$i >>= 1;
|
||||||
$shift = ($y & 1) << 2;
|
$shift = ($y & 1) << 2;
|
||||||
$oldPair = ord($this->data{$i});
|
$oldPair = ord($this->data{$i});
|
||||||
$newPair = ($oldPair & ~(0xf << $shift)) | (($data & 0xf) << $shift);
|
$newPair = ($oldPair & ~(0xf << $shift)) | (($data & 0xf) << $shift);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user