Fix wrong id passed to constructer in CookedFish.php

This commit is contained in:
Marcus Zhou 2015-08-11 23:06:40 +08:00
parent 5a626405e3
commit 25b9946d9e

View File

@ -24,7 +24,7 @@ namespace pocketmine\item;
class CookedFish extends Item{ class CookedFish extends Item{
public function __construct($meta = 0, $count = 1){ 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){ if($this->meta === 1){
$this->name = "Cooked Salmon"; $this->name = "Cooked Salmon";
} }