Hello! Why when i tried to use PHP: $item = Item::get(302, 0, 1); I get an error that tell me Item not found although i wrote PHP: use pocketmine\entity\Item; This is the error: Code: [01:45:06] [Server thread/CRITICAL]: Could not execute task TheStory\StoryTask: Class 'pocketmine\entity\Item' not found [01:45:06] [Server thread/CRITICAL]: Error: "Class 'pocketmine\entity\Item' not found" (EXCEPTION) in "ItemsMS/src/ItemsMS/ItemsTask" at line 240 So how i can fix it?
It's \pocketmine\entity\object\ItemEntity now. Also, you should actually use \pocketmine\item\Item (or even better: \pocketmine\item\ItemFactory).