From 2e0d76c50f0c752fa79fbe01313a5a1ac46d9d3d 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: {