feat: support 64-bit gold long integer returns in exchange, guild, and safebox Python modules (Stage 7)

This commit is contained in:
shen
2026-10-20 05:57:18 -07:00
parent dd71ee5b61
commit 867633667f
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -250,7 +250,7 @@ PyObject * safeboxGetItemAttribute(PyObject * poSelf, PyObject * poArgs)
PyObject * safeboxGetMoney(PyObject * poSelf, PyObject * poArgs)
{
return Py_BuildValue("i", CPythonSafeBox::Instance().GetMoney());
return PyLong_FromLongLong(CPythonSafeBox::Instance().GetMoney());
}
PyObject * safeboxGetMallItemID(PyObject * poSelf, PyObject * poArgs)