From 71158dcb974abdf1cde476e27184dcd5210343fa Mon Sep 17 00:00:00 2001 From: rsakeys <5@rsakeys.org> Date: Tue, 7 Apr 2020 19:37:16 +0100 Subject: [PATCH] Return a tuple instead of array --- houdini/data/item.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/houdini/data/item.py b/houdini/data/item.py index db5ebd3..5493bb5 100644 --- a/houdini/data/item.py +++ b/houdini/data/item.py @@ -67,19 +67,19 @@ class ItemCollection(AbstractDataCollection): @cached_property def treasure(self): - return [item for item in self.values() if item.treasure] + return { item for item in self.values() if item.treasure } @cached_property def innocent(self): - return [item for item in self.values() if item.innocent] + return { item for item in self.values() if item.innocent } @cached_property def legacy_inventory(self): - return [item for item in self.values() if item.legacy_inventory] + return { item for item in self.values() if item.legacy_inventory } @cached_property def vanilla_inventory(self): - return [item for item in self.values() if item.vanilla_inventory] + return { item for item in self.values() if item.vanilla_inventory } class PenguinItemCollection(AbstractDataCollection):