mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 10:49:10 +00:00
Fix wrong id passed to constructer in CookedFish.php
This commit is contained in:
parent
5a626405e3
commit
25b9946d9e
@ -24,10 +24,10 @@ 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";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user