mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Fix Item::SetBinding not save item bug
This commit is contained in:
@@ -648,6 +648,8 @@ namespace LuaItem
|
|||||||
bool soulbound = Eluna::CHECKVAL<bool>(L, 2);
|
bool soulbound = Eluna::CHECKVAL<bool>(L, 2);
|
||||||
|
|
||||||
item->SetBinding(soulbound);
|
item->SetBinding(soulbound);
|
||||||
|
item->SetState(ITEM_CHANGED, item->GetOwner());
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user