mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
SkinData: fixed capeImage type violation (doesn't accept null)
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user