case "menu": $sender->getInventory()->(new Item(347, 0, 1)->setCustomName("§l§6Sell")); $sender->getInventory()->(new Item(345, 0, 1)->setCustomName("§l§dShop")); $sender->addTitle("Succeffful!"); return true; break; [21:22:02] [Server thread/CRITICAL]: ParseError: "syntax error, unexpected '(', expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$'" (EXCEPTION) in "plugins/SEXDCore_SB/src/xinghao2003/SEXDCore/Main" at line 253
PHP: case "menu": $sender->getInventory()->addItem((new Item(347, 0, 1)->setCustomName("§l§6Sell"))); $sender->getInventory()->addItem((new Item(345, 0, 1)->setCustomName("§l§dShop"))); $sender->addTitle("Succefful"); return true;