mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Replace disallowed operators in src/block/
This commit is contained in:
@ -82,7 +82,7 @@ class Trapdoor extends Transparent{
|
||||
if($player !== null){
|
||||
$this->facing = Facing::opposite($player->getHorizontalFacing());
|
||||
}
|
||||
if(($clickVector->y > 0.5 and $face !== Facing::UP) or $face === Facing::DOWN){
|
||||
if(($clickVector->y > 0.5 && $face !== Facing::UP) || $face === Facing::DOWN){
|
||||
$this->top = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user