mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-17 03:08:58 +00:00
Fixed wool on sheeps
This commit is contained in:
parent
139d8b38b5
commit
e3e7919652
@ -534,7 +534,7 @@ class Entity extends Position{
|
|||||||
$this->data["Sheared"] = 0;
|
$this->data["Sheared"] = 0;
|
||||||
$this->data["Color"] = mt_rand(0,15);
|
$this->data["Color"] = mt_rand(0,15);
|
||||||
}
|
}
|
||||||
$d[16]["value"] = (($this->data["Sheared"] == 1 ? 1:0) << 5) | ($this->data["Color"] & 0x0F);
|
$d[16]["value"] = (($this->data["Sheared"] == 1 ? 1:0) << 4) | ($this->data["Color"] & 0x0F);
|
||||||
}
|
}
|
||||||
return $d;
|
return $d;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user