mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-25 12:54:03 +00:00
fix classic capes
This commit is contained in:
parent
70f81334ae
commit
10d44292e1
@ -114,7 +114,11 @@ class NetworkBinaryStream extends BinaryStream{
|
||||
$this->putLInt($animation->getType());
|
||||
$this->putLFloat($animation->getFrames());
|
||||
}
|
||||
$this->putSkinImage(new SkinImage(0, 0, $skin->getCapeData()));
|
||||
if($skin->getCapeData() !== ""){
|
||||
$this->putSkinImage(new SkinImage(32, 64, $skin->getCapeData()));
|
||||
}else{
|
||||
$this->putSkinImage(new SkinImage(0, 0, ""));
|
||||
}
|
||||
$this->putString($skin->getGeometryData());
|
||||
$this->putString(""); //animation data
|
||||
$this->putBool(false); //isPremium
|
||||
|
Loading…
x
Reference in New Issue
Block a user