You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changes in #3052 now require commands using selections to include @Confirm(Confirm.Processor.REGION). Not having this gives a pretty unfriendly error:
Previously you would just get the regular informative error:
I have tested adding the annotation to one command and it doesn't appear to cause issues with regular WorldEdit, so the change doesn't cause any compatibility issues.
To Reproduce
Create a command which takes a Selection
Do not add the Confirm annotation
Run the command ingame without an active selection
IllegalStateException error
Expected behaviour
Commands expecting a selection which do not recieve one should error instructively as before:
Effectively, when no @Confirm(...) is present for the region, Confirm.Processor.REGION should be the default.
Server Implementation
Paper
Server Version
1.20.4
Describe the bug
Changes in #3052 now require commands using selections to include
@Confirm(Confirm.Processor.REGION)
. Not having this gives a pretty unfriendly error:Previously you would just get the regular informative error:
I have tested adding the annotation to one command and it doesn't appear to cause issues with regular WorldEdit, so the change doesn't cause any compatibility issues.
To Reproduce
Expected behaviour
Commands expecting a selection which do not recieve one should error instructively as before:
![image](https://private-user-images.githubusercontent.com/1365964/402524066-cd0d2d89-493b-42fb-9e34-3adf8ba16baa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTUxODksIm5iZiI6MTczOTYxNDg4OSwicGF0aCI6Ii8xMzY1OTY0LzQwMjUyNDA2Ni1jZDBkMmQ4OS00OTNiLTQyZmItOWUzNC0zYWRmOGJhMTZiYWEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMTAyMTI5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjEyNmMwNTQ0MmRlNTc3MGMzYzNjYmViMGVjNGZiNzI2OGYxMmViMjIyMDdiYjE1OTYzNWY4NzI3YjNlY2NhYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.lwu2cGgIxLNi8FzDWkcEpPIsG8WLa_xhFDb9_fUceGg)
Effectively, when no
@Confirm(...)
is present for the region,Confirm.Processor.REGION
should be the default.Screenshots / Videos
No response
Error log (if applicable)
No response
Fawe Debugpaste
https://athion.net/ISPaster/paste/view/d8e209464d4e4bcd85aec7766117481f
Fawe Version
FastAsyncWorldEdit-Bukkit-2.12.4-SNAPSHOT-1020
Checklist
Anything else?
No response
The text was updated successfully, but these errors were encountered: