From 86c02e2712e2177ae6a41bbfa66e6284d6ff9b15 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 Feb 2016 18:37:52 +0300 Subject: Add chat command /loadposition. Also add it to player context menu. --- src/actions/commands.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/actions/commands.cpp') diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index ebb472130..771bf0ed5 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -1375,4 +1375,10 @@ impHandler(commandSavePosition) return true; } +impHandler(commandLoadPosition) +{ + adminHandler->loadPosition(event.args); + return true; +} + } // namespace Actions -- cgit v1.2.3-70-g09d2