EngineHub / EngineHub/WorldEdit

Schematic list load command can fail

Open
#2,564 0 comments 0 reactions 0 assignees View on GitHub
status:accepted type:bug
Dominant language
Java
Stars
3.5k
Forks
960
Avg merge
6h 57m
Merged PRs (30d)
1

Description

### WorldEdit Version

7.3.3

### Platform Version

N/A

### Confirmations

- [X] I am using the most recent Minecraft release.
- [X] I am using a version of WorldEdit compatible with my Minecraft version.
- [X] I am using the latest or recommended version of my platform software.
- [X] I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
- [X] I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

### Bug Description

If a file has a `"` in it, the load command issued by the list ClickEvent will not be properly formatted. This means the command will fail.

### Expected Behavior

All files should be loadable via clicking in the list.

### Reproduction Steps

1. Make a schematic file with `"` in it
2. `//schem list`
3. Try to click the `[L]` for it.
4. Failure.

### Anything Else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.