From 98397c65f2e1677e95ad26a7ed1acd4063b91750 Mon Sep 17 00:00:00 2001 From: ryancheung Date: Sun, 27 Nov 2016 14:29:18 +0800 Subject: [PATCH] Fix Item::SetBinding not save item bug --- ItemMethods.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ItemMethods.h b/ItemMethods.h index 1ee7017..a9af6be 100644 --- a/ItemMethods.h +++ b/ItemMethods.h @@ -648,6 +648,8 @@ namespace LuaItem bool soulbound = Eluna::CHECKVAL(L, 2); item->SetBinding(soulbound); + item->SetState(ITEM_CHANGED, item->GetOwner()); + return 0; }