Blacklist new versions of recordclass

This commit is contained in:
Salad Dais
2023-07-05 20:27:05 +00:00
parent 36858ed3e2
commit 4dbf01a604
2 changed files with 7 additions and 2 deletions

View File

@@ -569,7 +569,11 @@ class ClientWorldObjectManager:
def _run_object_update_hooks(self, obj: Object, updated_props: Set[str], update_type: ObjectUpdateType,
msg: Optional[Message]):
region_state = self._get_region_state(obj.RegionHandle)
region_state.resolve_futures(obj, update_type)
if region_state:
region_state.resolve_futures(obj, update_type)
else:
LOG.warning(f"{obj} not tied to a region state")
if obj.PCode == PCode.AVATAR and "NameValue" in updated_props:
if obj.NameValue:
self.name_cache.update(obj.FullID, obj.NameValue.to_dict())

View File

@@ -86,7 +86,8 @@ setup(
'outleap<1.0',
'defusedxml',
'aiohttp<4.0.0',
'recordclass>0.15,<0.19',
# Newer recordclasses break!
'recordclass>0.15,<0.18.3',
'lazy-object-proxy',
'arpeggio',
# requests breaks with newer idna