public function getLocationToName($name)
 {
     return $this->loader->getLocationToName($name);
 }
 public function onPlayerKickEvent(PlayerKickEvent $event)
 {
     $this->locationLoader->unloadLocation($event->getPlayer()->getName());
 }