From 5aad9d9e9e47b39bc3ced11851c54da35c2b1697 Mon Sep 17 00:00:00 2001 From: qwint Date: Wed, 25 Sep 2024 11:46:24 -0400 Subject: [PATCH] use base collect/remove for item link groups --- BaseClasses.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BaseClasses.py b/BaseClasses.py index a5de1689a7fe..7774db81bfbb 100644 --- a/BaseClasses.py +++ b/BaseClasses.py @@ -195,6 +195,8 @@ def add_group(self, name: str, game: str, players: AbstractSet[int] = frozenset( world_type = AutoWorld.AutoWorldRegister.world_types[game] self.worlds[new_id] = world_type.create_group(self, new_id, players) self.worlds[new_id].collect_item = classmethod(AutoWorld.World.collect_item).__get__(self.worlds[new_id]) + self.worlds[new_id].collect = classmethod(AutoWorld.World.collect).__get__(self.worlds[new_id]) + self.worlds[new_id].remove = classmethod(AutoWorld.World.remove).__get__(self.worlds[new_id]) self.player_name[new_id] = name new_group = self.groups[new_id] = Group(name=name, game=game, players=players,