alvin0319 / CustomItemLoader

This is a plugin that brings the custom item to your server for PocketMine-MP!

Home Page:https://discord.com/invite/Py2vSwg3B3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can I use custom item in StringToItemParser?

GabBiswajit opened this issue · comments

Hello, my question is: Can I use the custom item like this - StringToItemParser::getInstance()->parse($name)? If yes, then what should I use as the $name for the custom item? Should I include the namespace in the $name?

Yes, you have to include namespace for it.