Skip to content

Commit

Permalink
Before-breakfast bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
enjarai committed Nov 14, 2024
1 parent cdcd35b commit 3ae0f30
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
- It appears that the serialization fixes from 2.0.0-beta.2 *weren't actually saved to git*. This has been rectified. The issue is most certainly resolved now. (@StellarWitch7)
- Fixed spell slots in the player's inventory having a clickable hitbox when inactive.
- Fixed an incorrect spell signature.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ deps.yarn=1.21+build.2
loader_version=0.15.11

# Mod Properties
mod_version=2.0.0-beta.2c
mod_version=2.0.0-beta.2d
maven_group=dev.enjarai
archives_base_name=trickster

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ public void onPress() {
}
}

@Override
protected boolean isValidClickButton(int button) {
return super.isValidClickButton(button) && currentState != State.INACTIVE;
}

public void updateState(@Nullable CasterComponent.RunningSpellData spellData) {
if (spellData == null) {
currentState = State.INACTIVE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Constructs a slot from an index and an inventory source, using the caster by def

<|glyph@trickster:templates|trick-id=trickster:check_hat,title=Cranium Delusion|>

-> number
-> number | void

---

Expand Down

0 comments on commit 3ae0f30

Please sign in to comment.