diff --git a/game/modules/tome/data/chats/alchemist-golem.lua b/game/modules/tome/data/chats/alchemist-golem.lua index c4016b9f4c78f3fc7c86f4b31db479f1fbef7747..233c58768ca30927c2a3abde9dcf983de60ca1bb 100644 --- a/game/modules/tome/data/chats/alchemist-golem.lua +++ b/game/modules/tome/data/chats/alchemist-golem.lua @@ -56,7 +56,7 @@ end local change_gem = function(npc, player, gemid) local inven = player:getInven("INVEN") player:showInventory("Select a gem for your golem.", inven, function(o) return o.type == "gem" and o.material_level and o.material_level <= player:getTalentLevelRaw(player.T_GEM_GOLEM) end, function(o, item) - player:removeObject(inven, item, true) + o = player:removeObject(inven, item) local gems = golem:getInven("GEM") local old = golem:removeObject(gems, gemid) if old then player:addObject(inven, old) end