Skip to content

Commit

Permalink
Fix malilib comment appender (#118)
Browse files Browse the repository at this point in the history
* Attach to all return callbacks to adapt to Malilib changes

* Only hook if translationPrefix is empty

---------

Signed-off-by: Hendrix-Shen <[email protected]>
  • Loading branch information
Hendrix-Shen authored Oct 26, 2024
1 parent 4fe30f5 commit f5d31eb
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,12 @@ public class ConfigBaseMixin {
@Inject(
method = "getComment",
at = @At(
//#if MC > 12101
//$$ value = "RETURN",
//$$ ordinal = 1
//#else
value = "TAIL"
//#endif
),
cancellable = true
)
Expand Down

0 comments on commit f5d31eb

Please sign in to comment.