mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
Fixed items
This commit is contained in:
parent
faca65010d
commit
d3df65f8c9
9 changed files with 21 additions and 14 deletions
|
|
@ -20,7 +20,8 @@
|
|||
*/
|
||||
|
||||
class CookedChickenItem extends Item{
|
||||
public function __construct($meta = 0){
|
||||
parent::__construct(COOKED_CHICKEN, 0, "Cooked Chicken");
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
parent::__construct(COOKED_CHICKEN, 0, $count, "Cooked Chicken");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
*/
|
||||
|
||||
class CookedPorkchopItem extends Item{
|
||||
public function __construct($meta = 0){
|
||||
parent::__construct(COOKED_PORKCHOP, 0, "Cooked Porkchop");
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
parent::__construct(COOKED_PORKCHOP, 0, $count, "Cooked Porkchop");
|
||||
}
|
||||
}
|
||||
|
|
@ -24,4 +24,5 @@ class PotatoItem extends Item{
|
|||
$this->block = BlockAPI::get(POTATO_BLOCK);
|
||||
parent::__construct(POTATO, 0, $count, "Potato");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -20,7 +20,8 @@
|
|||
*/
|
||||
|
||||
class PumpkinPieItem extends Item{
|
||||
public function __construct($meta = 0){
|
||||
parent::__construct(PUMPKIN_PIE, 0, "Pumpkin Pie");
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
parent::__construct(PUMPKIN_PIE, 0, $count, "Pumpkin Pie");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -20,7 +20,8 @@
|
|||
*/
|
||||
|
||||
class RawChickenItem extends Item{
|
||||
public function __construct($meta = 0){
|
||||
parent::__construct(RAW_CHICKEN, 0, "Raw Chicken");
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
parent::__construct(RAW_CHICKEN, 0, $count, "Raw Chicken");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -20,7 +20,8 @@
|
|||
*/
|
||||
|
||||
class RawPorkchopItem extends Item{
|
||||
public function __construct($meta = 0){
|
||||
parent::__construct(RAW_PORKCHOP, 0, "Raw Porkchop");
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
parent::__construct(RAW_PORKCHOP, 0, $count, "Raw Porkchop");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -20,7 +20,8 @@
|
|||
*/
|
||||
|
||||
class BoneItem extends Item{
|
||||
public function __construct($meta = 0){
|
||||
parent::__construct(BONE, 0, "Bone");
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
parent::__construct(BONE, 0, $count, "Bone");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -20,8 +20,8 @@
|
|||
*/
|
||||
|
||||
class GunpowderItem extends Item{
|
||||
public function __construct($meta = 0){
|
||||
parent::__construct(GUNPOWDER, 0, "Gunpowder");
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
parent::__construct(GUNPOWDER, 0, $count, "Gunpowder");
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue