mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Muse Dash: Change AttributeError to KeyError when Create_Item receives an item name that doesn't exist in the world (#4215)
* Change missing attribute error to key error. * Swap to explicit key error * Revert "Swap to explicit key error" This reverts commit 719255891e543d15720b6bdeb293621266618efc.
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user