Change get and put SkinImage visibility to private

This commit is contained in:
Stephen 2019-11-11 15:29:57 -05:00
parent 99d350914e
commit 1c67f094e3

View File

@ -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());