Skip to content

"/sable info" fileId put ',' instead of '.' in the formating of the string for the click event #19

@cylian914

Description

@cylian914

Description

component.setStyle(Style.EMPTY.withClickEvent(new ClickEvent(ClickEvent.Action.SUGGEST_COMMAND, "/execute in %s run tp @s %.2f %.2f %.2f".formatted(dimension, pos.x(), pos.y(), pos.z())))

the .formatted(...) will replace the %.2f into X,X instead of X.X

so for example it will give execute in minecraft:overworld run tp @s 4,50 -62,50 2,50 with , instead of . making the command invalid

Game Log

Not imporant :3

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions