From 7f4eeef162a97df4ccc4a5e03e6a191f185d8428 Mon Sep 17 00:00:00 2001 From: NotAdam Date: Sat, 9 Feb 2019 22:45:29 +1100 Subject: [PATCH] log invalid itemaction types --- src/world/Manager/ActionMgr.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/world/Manager/ActionMgr.cpp b/src/world/Manager/ActionMgr.cpp index 0e690cf2..8de3a03e 100644 --- a/src/world/Manager/ActionMgr.cpp +++ b/src/world/Manager/ActionMgr.cpp @@ -46,7 +46,10 @@ void World::Manager::ActionMgr::handleItemAction( Sapphire::Entity::Player& play switch( itemActionData->type ) { default: - return; + { + player.sendDebug( "ItemAction type {0} not supported.", itemActionData->type ); + break; + } case Common::ItemActionType::ItemActionVFX: {