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