mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-06 11:57:10 +00:00
LegacySkinAdapter: Use 64x64 for persona polyfilled skins
64x32 has some corruption issues and generally just looks really bad.
This commit is contained in:
parent
806f03bd37
commit
4c65a0cdaa
@ -54,7 +54,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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user