Describe the bug
When attempting to delete chunks, MCA Selector deletes all regions that contain any of the selected chunks, rather than just the chunks that were selected
To Reproduce
Open a world in MCA Selector
Select a small area of chunks (for example, a rectangular area from chunk -5, -2 to chunk 1, 3 inclusive)
Press CTRL-D or go to Selection > Delete Selected Chunks
Observe that the "Delete chunks" confirmation dialog shows the correct number of chunks that were selected (in the above example, "You are about to delete 42 chunks from this world."
Press OK to confirm deletion
Observe that all chunks in the four regions covered by this area have been deleted, for a total of 4096 chunks
Open the world in Minecraft to observe that the entire regions have been deleted and must be regenerated by the game
Screenshots of the above:
Expected behavior
MCA Selector would only delete the chunks that were actually selected for deletion
Screenshots and other files
See above screenshots.
I was not able to obtain a debug file. I enabled the option in settings, restarted MCA selector, and reproduced the problem, but could not find a "debug.log" file. Where is this file supposed to appear? It did not appear in any of the following places:
Directory containing "mcaselector-2.2.2.jar"
Working directory from which I launched MCA Selector
The instance folder for the world save being modified
The following was printed to stdout:
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
(java:300861): Gtk-WARNING **: 16:11:02.626: Theme parsing error: gtk.css:1649:16: '-gtk-icon-size' is not a valid property name
(java:300861): Gtk-WARNING **: 16:11:02.626: Theme parsing error: gtk.css:1652:16: '-gtk-icon-size' is not a valid property name
(java:300861): Gdk-WARNING **: 16:11:02.918: XSetErrorHandler() called with a GDK error trap pushed. Don't do that.
Describe the bug When attempting to delete chunks, MCA Selector deletes all regions that contain any of the selected chunks, rather than just the chunks that were selected
To Reproduce
Screenshots of the above:
Expected behavior MCA Selector would only delete the chunks that were actually selected for deletion
Screenshots and other files See above screenshots.
I was not able to obtain a debug file. I enabled the option in settings, restarted MCA selector, and reproduced the problem, but could not find a "debug.log" file. Where is this file supposed to appear? It did not appear in any of the following places:
The following was printed to stdout:
Environment:
OS: Ubuntu 23.04 64-bit
Linux Kernel 6.2.0-33-generic x86_64
Java version: openjdk 17.0.1 2021-10-19 LTS OpenJDK Runtime Environment Zulu17.30+15-CA (build 17.0.1+12-LTS) OpenJDK 64-Bit Server VM Zulu17.30+15-CA (build 17.0.1+12-LTS, mixed mode, sharing)
MCA Selector 2.2.2
Additional context