summaryrefslogtreecommitdiff
path: root/src/net/eathena/adminhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/adminhandler.cpp')
-rw-r--r--src/net/eathena/adminhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp
index b647f92b0..f1742315b 100644
--- a/src/net/eathena/adminhandler.cpp
+++ b/src/net/eathena/adminhandler.cpp
@@ -265,4 +265,9 @@ void AdminHandler::randomWarp(const std::string &name) const
Gm::runCharCommand("jump", name);
}
+void AdminHandler::gotoNpc(const std::string &name) const
+{
+ Gm::runCommand("tonpc", name);
+}
+
} // namespace EAthena