mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 09:19:42 +00:00
Trapdoor: fix bad meth in comment
This commit is contained in:
parent
2600cf5977
commit
594a2041b6
@ -58,7 +58,7 @@ class Trapdoor extends Transparent{
|
||||
}
|
||||
|
||||
public function readStateFromMeta(int $meta) : void{
|
||||
//TODO: in PC the values are reversed (3 - (5 - facing))
|
||||
//TODO: in PC the values are reversed (facing - 2)
|
||||
|
||||
$this->facing = 5 - ($meta & 0x03);
|
||||
$this->top = ($meta & self::MASK_UPPER) !== 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user