mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 19:34:15 +00:00
Fixed a special water & lava case
This commit is contained in:
parent
0082bc9d10
commit
880121a83f
@ -703,7 +703,7 @@ class BlockAPI{
|
|||||||
$this->server->api->level->setBlock($spread[2][0], $spread[2][1], $spread[2][2], 49, 0, true);
|
$this->server->api->level->setBlock($spread[2][0], $spread[2][1], $spread[2][2], 49, 0, true);
|
||||||
return true;
|
return true;
|
||||||
}elseif($spread[0] === 10){
|
}elseif($spread[0] === 10){
|
||||||
if($face === 0){
|
if($face === 0 or ($spread[1] & 0x08) === 0){
|
||||||
$this->server->api->level->setBlock($spread[2][0], $spread[2][1], $spread[2][2], 4, 0, true);
|
$this->server->api->level->setBlock($spread[2][0], $spread[2][1], $spread[2][2], 4, 0, true);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user