You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Create new type of NPC with @addnpc foo
2. Try to bring a new foo to life with @clone foo
3. Client is disconnected due to error
'NoneType' object is unsubcriptable
at admin.py line 178
What is the expected output? What do you see instead?
expected: foo has been cloned
got: client gets disconnected
What version of the product are you using? On what operating system?
svn r29 on Ubuntu Linux
Please provide any additional information below.
replace this line in admin.py at about line 178--
Insert.cloneItem(self.obj[0], session.p_id, time.time())
with:
Insert.cloneNpc(self.npc[0], session.p_id, time.time())
and you can then clone NPCs.
Original issue reported on code.google.com by miss...@hotmail.com on 15 Nov 2008 at 9:56
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
miss...@hotmail.com
on 15 Nov 2008 at 9:56The text was updated successfully, but these errors were encountered: