SkinData: fixed capeImage type violation (doesn't accept null)

This commit is contained in:
Dylan K. Taylor
2020-06-15 23:51:48 +01:00
parent a4e250a3e6
commit 2712befa82
2 changed files with 1 additions and 6 deletions

View File

@ -75,7 +75,7 @@ class SkinData{
$this->resourcePatch = $resourcePatch;
$this->skinImage = $skinImage;
$this->animations = $animations;
$this->capeImage = $capeImage;
$this->capeImage = $capeImage ?? new SkinImage(0, 0, "");
$this->geometryData = $geometryData;
$this->animationData = $animationData;
$this->premium = $premium;