Merge pull request #3372 from SuperMarcus/patch-2

Fix wrong id passed to constructer in CookedFish.php
This commit is contained in:
Shoghi Cervantes 2015-08-11 19:57:33 +02:00
commit f1cc8ddde4

View File

@ -24,10 +24,10 @@ namespace pocketmine\item;
class CookedFish extends Item{
public function __construct($meta = 0, $count = 1){
parent::__construct(self::RAW_FISH, $meta, $count, "Cooked Fish");
parent::__construct(self::COOKED_FISH, $meta, $count, "Cooked Fish");
if($this->meta === 1){
$this->name = "Cooked Salmon";
}
}
}
}