how would I setDrop the already existing drops and an item I tried $e->setDrops([$item, $e->getDrops()]); but only droped the $item
$e->getDrops() is an array itself. Read http://php.net/manual/en/language.types.array.php#language.types.array.syntax.modifying PHP: $drops = $e->getDrops();$drops[] = $item;$event->setDrops($drops);
There's nothing wrong doing it that way but if performance is one of your priorities, then you are better off using square brackets. "Note: If you use array_push() to add one element to the array it's better to use $array[] = because in that way there is no overhead of calling a function."