From b4694092b7a7c8e52732037b7775e080ff37512d Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 17 Aug 2018 19:47:26 +0100 Subject: [PATCH] Painting: fix motive not being saved --- src/pocketmine/entity/object/Painting.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pocketmine/entity/object/Painting.php b/src/pocketmine/entity/object/Painting.php index 6279f0dd7..30ce747a1 100644 --- a/src/pocketmine/entity/object/Painting.php +++ b/src/pocketmine/entity/object/Painting.php @@ -84,6 +84,8 @@ class Painting extends Entity{ $this->namedtag->setByte("Facing", (int) $this->direction); $this->namedtag->setByte("Direction", (int) $this->direction); //Save both for full compatibility + + $this->namedtag->setString("Motive", $this->motive); } public function kill() : void{