Fixed skins appearing black when using RTX resource packs, closes #4537

This commit is contained in:
Dylan K. Taylor 2021-12-13 12:35:55 +00:00
parent 69d5bfa0d4
commit f5bbd30dbb
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -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()){