mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
dont throw on __len__ attribute
This commit is contained in:
@@ -626,6 +626,8 @@ class CollectionState(object):
|
||||
return self.can_reach(item[10])
|
||||
#elif item.startswith('has_'):
|
||||
# return self.has(item[4])
|
||||
if item == '__len__':
|
||||
return
|
||||
|
||||
raise RuntimeError('Cannot parse %s.' % item)
|
||||
|
||||
|
Reference in New Issue
Block a user