EngineHub / EngineHub/WorldEdit

Some //deform commands cause servers to crash

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

Description

### WorldEdit Version

Bukkit-Official(7.3.9+6959-7adf70b)

### Platform Version

1.21.3-82-ver (Paper)

### 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

When using "//deform x+=y*z/x" on some selections, it causes the server to crash

Image

### Expected Behavior

Applies the expression "x+=y*z/x" on the blocks inside the selection, like the command should

### Reproduction Steps

1. Make a 5x5x5 selection
2. Type "//set stone"
3. Type "//deform x+=y*z/x"

### Anything Else?
First, I tried it on 1.20.4 and the crashes also happened.

Second, I know that 1.21.3 isn't the exact newest release, but given that the crashes happened on not just one version of worldedit, it is possible it's still happening in the newest version

And last, I do not know exactly what type of selection is bugged, as the selections I tried did not seem to have any correlation.
Examples:
5x5x5 - Crashes
23x1x24 - Doesn't crash
3x3x11 - Crashes
23x2x24 - Crashes

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.