mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 00:39:45 +00:00
Change get and put SkinImage visibility to private
This commit is contained in:
parent
99d350914e
commit
1c67f094e3
@ -120,14 +120,14 @@ class NetworkBinaryStream extends BinaryStream{
|
||||
$this->putString(""); //fullskinId
|
||||
}
|
||||
|
||||
public function getSkinImage() : SkinImage{
|
||||
private function getSkinImage() : SkinImage{
|
||||
$width = $this->getLInt();
|
||||
$height = $this->getLInt();
|
||||
$data = $this->getString();
|
||||
return new SkinImage($height, $width, $data);
|
||||
}
|
||||
|
||||
public function putSkinImage(SkinImage $image) : void{
|
||||
private function putSkinImage(SkinImage $image) : void{
|
||||
$this->putLInt($image->getWidth());
|
||||
$this->putLInt($image->getHeight());
|
||||
$this->putString($image->getData());
|
||||
|
Loading…
x
Reference in New Issue
Block a user