mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Core: cleanup Item classes (#849)
This commit is contained in:
@@ -573,8 +573,10 @@ class SMZ3Location(Location):
|
||||
|
||||
class SMZ3Item(Item):
|
||||
game = "SMZ3"
|
||||
type: ItemType
|
||||
item: Item
|
||||
|
||||
def __init__(self, name, classification, type, code, player: int = None, item=None):
|
||||
def __init__(self, name, classification, type: ItemType, code, player: int, item: Item):
|
||||
super(SMZ3Item, self).__init__(name, classification, code, player)
|
||||
self.type = type
|
||||
self.item = item
|
||||
super(SMZ3Item, self).__init__(name, classification, code, player)
|
||||
|
Reference in New Issue
Block a user