From f5bbd30dbb6bffcc5b15ba29bdf6f3c8130028fb Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Mon, 13 Dec 2021 12:35:55 +0000 Subject: [PATCH] Fixed skins appearing black when using RTX resource packs, closes #4537 --- src/pocketmine/entity/Entity.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pocketmine/entity/Entity.php b/src/pocketmine/entity/Entity.php index 39e1a28fc..22cae83dc 100644 --- a/src/pocketmine/entity/Entity.php +++ b/src/pocketmine/entity/Entity.php @@ -619,6 +619,7 @@ abstract class Entity extends Location implements Metadatable, EntityIds{ $this->propertyManager->setFloat(self::DATA_SCALE, 1); $this->propertyManager->setFloat(self::DATA_BOUNDING_BOX_WIDTH, $this->width); $this->propertyManager->setFloat(self::DATA_BOUNDING_BOX_HEIGHT, $this->height); + $this->propertyManager->setFloat(self::DATA_COLOR, 0); $this->fireTicks = $this->namedtag->getShort("Fire", 0); if($this->isOnFire()){