Change missing attribute error to key error.

This commit is contained in:
Justus Lind
2024-11-21 00:10:10 +10:00
parent 124ce13da7
commit 9fe4f221cf

View File

@@ -183,7 +183,7 @@ class MuseDashWorld(World):
if album:
return MuseDashSongItem(name, self.player, album)
song = self.md_collection.song_items.get(name)
song = self.md_collection.song_items[name]
return MuseDashSongItem(name, self.player, song)
def get_filler_item_name(self) -> str: