mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Cleaned up bool comparison mess
This commit is contained in:
@ -90,7 +90,7 @@ class Ladder extends Transparent{
|
||||
|
||||
|
||||
public function place(Item $item, Block $blockReplace, Block $blockClicked, int $face, Vector3 $clickVector, Player $player = null) : bool{
|
||||
if($blockClicked->isTransparent() === false){
|
||||
if(!$blockClicked->isTransparent()){
|
||||
$faces = [
|
||||
2 => 2,
|
||||
3 => 3,
|
||||
|
Reference in New Issue
Block a user