mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Fix schematic list box loading schems with spaces in path.
This commit is contained in:
parent
17cfdee347
commit
0e25839490
@ -434,7 +434,7 @@ public class SchematicCommands {
|
|||||||
.content("")
|
.content("")
|
||||||
.append(TextComponent.of("[L]")
|
.append(TextComponent.of("[L]")
|
||||||
.color(TextColor.GOLD)
|
.color(TextColor.GOLD)
|
||||||
.clickEvent(ClickEvent.of(ClickEvent.Action.RUN_COMMAND, "/schem load " + path))
|
.clickEvent(ClickEvent.of(ClickEvent.Action.RUN_COMMAND, "/schem load \"" + path + "\""))
|
||||||
.hoverEvent(HoverEvent.of(HoverEvent.Action.SHOW_TEXT, TextComponent.of("Click to load"))))
|
.hoverEvent(HoverEvent.of(HoverEvent.Action.SHOW_TEXT, TextComponent.of("Click to load"))))
|
||||||
.append(TextComponent.space())
|
.append(TextComponent.space())
|
||||||
.append(TextComponent.of(path)
|
.append(TextComponent.of(path)
|
||||||
|
Loading…
Reference in New Issue
Block a user