ID:150826
 
I'm using Deadron's library for character saving, but I'm having a problem with an admin function I wrote to boot problem players. I want to save the character before booting, but for some reason, the mob contents do not seem to save. When the character is loaded back in, all the stats are intact, but they no longer have an inventory.

verb/boot((mob/pc/P in players), reason as text)
set category = "GM"
P.client.base_SaveMob()
P << "\n\n\red You have been booted.\nReason: [reason]\n\n"
players << "[P] has been booted."
P.Logout()

"players" is a list of all active players.

Any clues here? Why would it save everything but the contents? Does this have something to do with the order of the client deletion/logout?