mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 04:17:07 +00:00
Painting: fix motive not being saved
This commit is contained in:
parent
95f6995ae0
commit
b4694092b7
@ -84,6 +84,8 @@ class Painting extends Entity{
|
|||||||
|
|
||||||
$this->namedtag->setByte("Facing", (int) $this->direction);
|
$this->namedtag->setByte("Facing", (int) $this->direction);
|
||||||
$this->namedtag->setByte("Direction", (int) $this->direction); //Save both for full compatibility
|
$this->namedtag->setByte("Direction", (int) $this->direction); //Save both for full compatibility
|
||||||
|
|
||||||
|
$this->namedtag->setString("Motive", $this->motive);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function kill() : void{
|
public function kill() : void{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user