mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
reverse BC-breaking change to Player->changeSkin()
this change would cause LSP violations for subclasses
This commit is contained in:
@ -253,7 +253,7 @@ class PlayerNetworkSessionAdapter extends NetworkSession{
|
||||
}
|
||||
|
||||
public function handlePlayerSkin(PlayerSkinPacket $packet) : bool{
|
||||
return $this->player->changeSkin($packet->skin);
|
||||
return $this->player->changeSkin($packet->skin, "", "");
|
||||
}
|
||||
|
||||
public function handleBookEdit(BookEditPacket $packet) : bool{
|
||||
|
Reference in New Issue
Block a user