From 9686ea7402d8f829f6010d027907d1ad67627b61 Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Tue, 8 Mar 2011 00:19:43 +0000
Subject: [PATCH] Fix Gem Golem

git-svn-id: http://svn.net-core.org/repos/t-engine4@2965 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/modules/tome/data/chats/alchemist-golem.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game/modules/tome/data/chats/alchemist-golem.lua b/game/modules/tome/data/chats/alchemist-golem.lua
index c4016b9f4c..233c58768c 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
-- 
GitLab