poggit-orphanage / ChestShop

ChestShop is the PocketMine-MP plugin which enables you to open your chest shop
https://poggit.pmmp.io/ci/poggit-orphanage/ChestShop/ChestShop
10 stars 8 forks source link

Color from blocks not shown on the sign #27

Open galaxytwenty opened 2 years ago

galaxytwenty commented 2 years ago

The signs from ChestShop are not showing color from block.

ItemFactory::getInstance()->get($pID, $pMeta)->getName() return only the block name like Stained glass. Not like Orange Stained Glass.

Best Thanks J for Updating Preety Great Greetz

supercrafter333 commented 2 years ago

ChestShop is only getting the Item's/Block's name. If the color isn't containing into the name, $item/$block ->getName() won't return the name with the color.