mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Clean up ID flattening hacks
This commit is contained in:
@ -40,8 +40,8 @@ class NetherReactor extends Solid{
|
||||
return $this->state;
|
||||
}
|
||||
|
||||
public function readStateFromMeta(int $meta) : void{
|
||||
$this->state = BlockDataValidator::readBoundedInt("state", $meta, 0, 2);
|
||||
public function readStateFromData(int $id, int $stateMeta) : void{
|
||||
$this->state = BlockDataValidator::readBoundedInt("state", $stateMeta, 0, 2);
|
||||
}
|
||||
|
||||
public function getStateBitmask() : int{
|
||||
|
Reference in New Issue
Block a user