made REQUEST_CHUNK_PACKET useful(experemental chunk loading system), reactor can be disabled in properties(for some reason it didnt work before)

This commit is contained in:
GameHerobrine 2022-08-13 17:35:38 +03:00
parent 5982e379e7
commit fc8111c152
3 changed files with 25 additions and 4 deletions

View file

@ -26,7 +26,7 @@ class Sheep extends Animal{
public function getMetadata(){
$d = parent::getMetadata();
if(!isset($this->data["Sheared"])){
$this->data["Sheared"] = NOT_SHEARED;
$this->data["Sheared"] = Sheep::NOT_SHEARED;
}
if(!isset($this->data["Color"])){ //Make a new random color if it is not in data
$this->data["Color"] = $this->sheepColor();