From ed90e9aa17a5135988a1a85f159c1556f7d84bd1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 Feb 2016 18:41:46 +0300 Subject: Add chat command /showinventory. Also add show inventory 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 503cb95dc..07f633d4d 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -1299,4 +1299,10 @@ impHandler(commandShowCart) return true; } +impHandler(commandShowInventory) +{ + adminHandler->showInventoryList(event.args); + return true; +} + } // namespace Actions -- cgit v1.2.3-70-g09d2