mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Clean up ID flattening hacks
This commit is contained in:
@ -33,8 +33,8 @@ class Sponge extends Solid{
|
||||
return $this->wet ? 1 : 0;
|
||||
}
|
||||
|
||||
public function readStateFromMeta(int $meta) : void{
|
||||
$this->wet = $meta !== 0;
|
||||
public function readStateFromData(int $id, int $stateMeta) : void{
|
||||
$this->wet = $stateMeta !== 0;
|
||||
}
|
||||
|
||||
public function getStateBitmask() : int{
|
||||
|
Reference in New Issue
Block a user