mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
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:
parent
5982e379e7
commit
fc8111c152
3 changed files with 25 additions and 4 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue