mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-15 19:46:20 +00:00
Fixed wool on sheeps
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user