changed acInform teleport action to grim spectate

This commit is contained in:
Elias Müller 2024-12-27 11:00:55 +01:00
parent 06641c5d84
commit 619190d0ae

View File

@ -106,9 +106,9 @@ public class AcInform extends Appliance {
component.append( component.append(
Component.text(" [", NamedTextColor.GRAY) Component.text(" [", NamedTextColor.GRAY)
.append(Component.text("Teleport", NamedTextColor.GOLD)) .append(Component.text("Spectate/Teleport", NamedTextColor.GOLD))
.append(Component.text("]", NamedTextColor.GRAY)) .append(Component.text("]", NamedTextColor.GRAY))
.clickEvent(ClickEvent.suggestCommand(String.format("/tp %s", playerName))) .clickEvent(ClickEvent.suggestCommand(String.format("/grim spectate %s", playerName)))
); );
TextComponent finalMessage = component.build(); TextComponent finalMessage = component.build();