mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fixed items
This commit is contained in:
parent
faca65010d
commit
d3df65f8c9
9 changed files with 21 additions and 14 deletions
|
|
@ -111,6 +111,7 @@ define("BRICK", 336);
|
|||
define("CLAY", 337);
|
||||
define("SUGARCANE", 338);
|
||||
define("SUGAR_CANE", 338);
|
||||
define("SUGAR_CANES", 338);
|
||||
define("REED", 338);
|
||||
define("PAPER", 339);
|
||||
define("BOOK", 340);
|
||||
|
|
|
|||
|
|
@ -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