aboutsummaryrefslogtreecommitdiff
path: root/src/game/Debugcmds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Debugcmds.cpp')
-rw-r--r--src/game/Debugcmds.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Debugcmds.cpp b/src/game/Debugcmds.cpp
index ff720872f6b..753ccc70746 100644
--- a/src/game/Debugcmds.cpp
+++ b/src/game/Debugcmds.cpp
@@ -38,6 +38,7 @@
#include "GridNotifiersImpl.h"
#include "SpellMgr.h"
#include "ScriptCalls.h"
+#include "ScriptMgr.h"
bool ChatHandler::HandleDebugSendSpellFailCommand(const char* args)
{
@@ -898,7 +899,7 @@ bool ChatHandler::HandleDebugItemExpireCommand(const char* args)
return false;
m_session->GetPlayer()->DestroyItem( i->GetBagSlot(),i->GetSlot(), true);
- Script->ItemExpire(m_session->GetPlayer(),i->GetProto());
+ sScriptMgr.ItemExpire(m_session->GetPlayer(),i->GetProto());
return true;
}