mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 22:45:28 +00:00
Merge branch 'stable'
This commit is contained in:
commit
4a787769bf
@ -60,7 +60,7 @@ class LegacySkinAdapter implements SkinAdapter{
|
|||||||
|
|
||||||
public function fromSkinData(SkinData $data) : Skin{
|
public function fromSkinData(SkinData $data) : Skin{
|
||||||
if($data->isPersona()){
|
if($data->isPersona()){
|
||||||
return new Skin("Standard_Custom", str_repeat(random_bytes(3) . "\xff", 2048));
|
return new Skin("Standard_Custom", str_repeat(random_bytes(3) . "\xff", 4096));
|
||||||
}
|
}
|
||||||
|
|
||||||
$capeData = $data->isPersonaCapeOnClassic() ? "" : $data->getCapeImage()->getData();
|
$capeData = $data->isPersonaCapeOnClassic() ? "" : $data->getCapeImage()->getData();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user