Eluna misc fixes

This commit is contained in:
Rochet2
2014-06-19 01:09:51 +03:00
committed by Foereaper
parent d294405272
commit aa96c42eb0
2 changed files with 3 additions and 2 deletions

View File

@@ -1966,7 +1966,7 @@ namespace LuaPlayer
if (!item)
{
uint32 itemId = Eluna::CHECKVAL<uint32>(L, 2);
player->DestroyItemCount(itemId, itemCount, true);
player->DestroyItemCount(itemId, itemCount, false);
}
else
player->DestroyItemCount(item, itemCount, true);