From e3e7919652823f997fcc7677cf724a2e43eb74a7 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Thu, 6 Jun 2013 23:55:14 +0200 Subject: [PATCH] Fixed wool on sheeps --- src/world/Entity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/Entity.php b/src/world/Entity.php index bad89c4cb..e34274f62 100644 --- a/src/world/Entity.php +++ b/src/world/Entity.php @@ -534,7 +534,7 @@ class Entity extends Position{ $this->data["Sheared"] = 0; $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; }