File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
src/main/java/net/onelitefeather/antiredstoneclockremastered/commands Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ val supportedMinecraftVersions = listOf(
3535 " 1.21.6" ,
3636 " 1.21.7" ,
3737 " 1.21.8" ,
38+ " 1.21.9" ,
39+ " 1.21.10"
3840)
3941allprojects {
4042 apply {
Original file line number Diff line number Diff line change @@ -61,21 +61,19 @@ private String mapToCommand(int i) {
6161
6262 private Component mapClockToMessage (RedstoneClock redstoneClock ) {
6363 var location = redstoneClock .getLocation ();
64- return Component .empty ().hoverEvent (Component .translatable ("antiredstoneclockremastered.command.display.clock.hover" ).asHoverEvent ()).append (
65- Component .translatable ("antiredstoneclockremastered.command.display.clock.text" )
66- .arguments (
64+ return Component .empty ().hoverEvent (Component .translatable ("antiredstoneclockremastered.command.display.clock.hover" ).asHoverEvent ())
65+ .append (Component .translatable ("antiredstoneclockremastered.command.display.clock.text" ).arguments (
6766 TranslationArgument .numeric (redstoneClock .getTriggerCount ()),
6867 TranslationArgument .numeric (location .getBlockX ()),
6968 TranslationArgument .numeric (location .getBlockY ()),
7069 TranslationArgument .numeric (location .getBlockZ ()),
71- Component .empty ()
72- .clickEvent (ClickEvent .callback (audience -> {
73- if (audience instanceof final Player executor ) {
74- executor .teleport (location );
75- }
76- }))
77- )
78- );
70+ Component .empty () // TODO: Temporary fix for display issue
71+ ).clickEvent (ClickEvent .callback (audience -> {
72+ if (audience instanceof final Player executor ) {
73+ executor .teleport (location );
74+ }
75+ }))
76+ );
7977 }
8078
8179 @ Override
You can’t perform that action at this time.
0 commit comments