mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-03-04 06:44:40 +01:00
Immortal trains
- Fix /c trains command running the wrong command to remove trains
This commit is contained in:
parent
b3dde23fd7
commit
57d01ce71e
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ public class DumpRailwaysCommand {
|
|||
Components.literal("Remove").withStyle(style -> style.withColor(orange))
|
||||
).withStyle(style -> style
|
||||
.withColor(blue)
|
||||
.withClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/c train kill " + train.id.toString()))
|
||||
.withClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/c train remove " + train.id.toString()))
|
||||
.withHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, Components.literal("Click to remove ").append(train.name)))
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue