tullamods/Combuctor — Issue #25: BagSync integration broken
Author: DanielCeregatti
Created: 2011-12-05 20:10:31+00:00
State: open

Realm gold totals are no longer working since BagSync's been updated. Here's a patch:

--- db.lua.old 2011-12-05 12:09:46.172493100 -0800
+++ db.lua 2011-12-05 12:08:03.155600900 -0800
@@ -112,7 +112,7 @@
--]]
function BagnonDB:GetMoney(player)
local pd = playerData(player)
- local c = pd and pd['gold:0:0']
+ local c = pd and pd['gold']
return c or 0
end