mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Stardew Valley: remove BaseLogic generic so importing mixins is no longer needed (#4916)
* remove BaseLogic generic so importing mixins is no longer needed * self review
This commit is contained in:
@@ -8,7 +8,7 @@ from ..items import item_table
|
||||
from ..stardew_rule import StardewRule, Received, TotalReceived
|
||||
|
||||
|
||||
class ReceivedLogicMixin(BaseLogic[HasLogicMixin], BaseLogicMixin):
|
||||
class ReceivedLogicMixin(BaseLogic, BaseLogicMixin):
|
||||
def received(self, item: str, count: Optional[int] = 1) -> StardewRule:
|
||||
assert count >= 0, "Can't receive a negative amount of item."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user