Пример #1
-1
 public function heldItems(PlayerItemHeldEvent $e)
 {
     //For Ease of access for other functions
     switch ($e->getName() or $e->getId()) {
         case 'Gray Dye':
             $e->getPlayer()->Sprint();
             break;
     }
 }