mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Heap of bugfixes, cleanup and PHP 7 upgrades
This commit is contained in:
@ -234,7 +234,7 @@ abstract class Door extends Transparent{
|
||||
2 => 2,
|
||||
3 => 5,
|
||||
];
|
||||
$next = $this->getSide($face[(($direction + 2) % 4)]);
|
||||
$next = $this->getSide($face[($direction + 2) % 4]);
|
||||
$next2 = $this->getSide($face[$direction]);
|
||||
$metaUp = 0x08;
|
||||
if($next->getId() === $this->getId() or ($next2->isTransparent() === false and $next->isTransparent() === true)){ //Door hinge
|
||||
|
Reference in New Issue
Block a user