Setting store-redo to false breaks undo
Bobcat00 opened this issue ยท 1 comments
Server Implementation
Paper
Server Version
1.19.3
Describe the bug
With use-disk
and store-redo
set to false
, doing //undo
causes an exception at best and an infinite loop at worst.
To Reproduce
- Create a new server with Paper and FAWE, agree to the EULA - you know the deal.
- Start the server and let it create the various files, then stop the server.
- Edit plugins/FastAsyncWorldEdit/config.yml and in the
history
section, change bothuse-disk
tofalse
andstore-redo
tofalse
. - Start the server.
- Join the server, op yourself via the console, then set yourself to Creative mode.
- Select a 10x10 area on the ground with
//hpos1
and//hpos2
, then do//expand 10 up
. - Do
//set stone
. Observe the stone cube is created. - Do
//undo
. Observe anArrayIndexOutOfBoundsException
exception. I've also seen this put all cores of the CPU into an infinite loop. Maybe that requires a bigger cube.
Expected behaviour
The cube is undone. No exception. No infinite loop.
Screenshots / Videos
No response
Error log (if applicable)
https://paste.gg/p/anonymous/ae7e4fbe67bc43e09580b809f9d4683f
Fawe Debugpaste
https://athion.net/ISPaster/paste/view/0a5fc2cecce04ad698b1dd6a47cbb6cf
Fawe Version
FastAsyncWorldEdit version 2.5.3-SNAPSHOT-368;c0dc42e
Checklist
- I have included a Fawe debugpaste.
- I am using the newest build from https://ci.athion.net/job/FastAsyncWorldEdit/ and the issue still persists.
Anything else?
This is on a brand new server, created explicitly for this bug report.