Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ val templateSettings = object : BlahajSettings {
plugins {
`maven-publish`
application
id("toni.blahaj") version "1.0.8"
id("toni.blahaj") version "1.0.18"
kotlin("jvm")
kotlin("plugin.serialization")
id("dev.kikugie.j52j") version "1.0"
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ mod.description=Adds an API for mod developers to show in-game help messages
#------------ Options -------------#
options.forgeconfig=true
options.txnilib=true
options.txnilib_version=1.0.20
options.txnilib_version=1.0.22

runtime.sodium=false
#----------------------------------#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ private static ImmersiveMessage decode(ByteBuf buffer) {
*/
public static ImmersiveMessage builder(float duration, String text) {
ImmersiveMessage tooltip = new ImmersiveMessage();
tooltip.text = Component.literal(text);
tooltip.text = Component.translatable(text);
tooltip.style = Style.EMPTY;
tooltip.animation = AnimationTimeline.builder(duration);
tooltip.animation.withYPosition(tooltip.yLevel);
Expand Down