Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Commit

Permalink
Merge branch 'release/v1.0.0' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
rlnt committed Mar 25, 2021
2 parents 220ac6b + a4aaad9 commit 4691b72
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class DeathtrapShield(SDKMod):
}
# endregion Mod Info

_blockFunStats: bool = False
_BlockFunStats: bool = False

# region Mod Setup
def __init__(self) -> None:
Expand Down Expand Up @@ -421,7 +421,7 @@ def _setItemCardEx(
we pass our modified text to it but block it from overwriting.
"""
caller.SetFunStats(text)
self._blockFunStats = True
self._BlockFunStats = True
return True

@Hook("WillowGame.ItemCardGFxObject.SetFunStats")
Expand All @@ -432,8 +432,8 @@ def _setFunStats(
Handles blocking the overwriting of item card descriptions if we changed it.
Credits: apple
"""
if self._blockFunStats:
self._blockFunStats = False
if self._BlockFunStats:
self._BlockFunStats = False
return False
return True

Expand Down

0 comments on commit 4691b72

Please sign in to comment.