fixed string name

This commit is contained in:
GameHerobrine 2024-09-01 18:03:25 +03:00
parent ae848fa812
commit 17808ed668
2 changed files with 8 additions and 1 deletions

View file

@ -60,7 +60,7 @@ class Item{
GOLD_INGOT => "GoldIngotItem",
STICK => "StickItem",
BOWL => "BowlItem",
'STRING' => "StringItem",
STRING => "StringItem",
FEATHER => "FeatherItem",
GUNPOWDER => "GunpowderItem",
WHEAT_SEEDS => "WheatSeedsItem",

View file

@ -0,0 +1,7 @@
<?php
class StringItem extends Item{
public function __construct($meta = 0, $count = 1){
parent::__construct(STRING, $meta, $count, "String");
}
}