Merge branch 'stable'

This commit is contained in:
Dylan K. Taylor 2021-09-09 16:06:16 +01:00
commit 4a787769bf
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -60,7 +60,7 @@ class LegacySkinAdapter implements SkinAdapter{
public function fromSkinData(SkinData $data) : Skin{
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();