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
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ private void initTable(GuiTheme theme, WTable table) {

String command = String.format(
"/execute in %s run tp %d %d %d",
waypoint.dimension.toString(),
waypoint.dimension.get().toIdentifier(),
pos.getX(),
pos.getY(),
pos.getZ()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public Dimension opposite() {
};
}

public String toString() {
public String toIdentifier() {
return switch (this) {
case Nether -> "minecraft:the_nether";
case End -> "minecraft:the_end";
Expand Down
Loading