mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
fixed string name
This commit is contained in:
parent
ae848fa812
commit
17808ed668
2 changed files with 8 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ class Item{
|
|||
GOLD_INGOT => "GoldIngotItem",
|
||||
STICK => "StickItem",
|
||||
BOWL => "BowlItem",
|
||||
'STRING' => "StringItem",
|
||||
STRING => "StringItem",
|
||||
FEATHER => "FeatherItem",
|
||||
GUNPOWDER => "GunpowderItem",
|
||||
WHEAT_SEEDS => "WheatSeedsItem",
|
||||
|
|
|
|||
7
src/material/item/generic/StringItem.php
Normal file
7
src/material/item/generic/StringItem.php
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
class StringItem extends Item{
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
parent::__construct(STRING, $meta, $count, "String");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue