Plugin stops working after creating a schematic and exiting the server while losing op on quit.
ch4ika opened this issue ยท 0 comments
Server Implementation
Paper
Server Version
1.16.5
Describe the bug
If you create a schematic then leave the server, the server gets an error and for every player who postjoints and tries to enter WorldEdit commands, the command simply doesn't work, you don't get any feedback and are then in a non-build mode and can no longer break down blocks until to rejoin the server.
To Reproduce
- Join the server and run the following commands.
- //pos1
- //pos2
- //copy
- //schematic save hellow_test
- Then leave the server.
Expected behaviour
The error happens when the player loses op at the PlayerQuitEvent on lowest priority.
@EventHandler(priority = EventPriority.LOWEST)
public void onPlayerQuit(PlayerQuitEvent event) {
Player player = event.getPlayer();
UUID uuid = player.getUniqueId();
/*if(player.isOp()) {
player.setOp(false);
}*/
}
Screenshots / Videos
No response
Error log (if applicable)
https://paste.gg/p/anonymous/f227a039187741c382ca5203fe820d3a
Fawe Debugpaste
https://athion.net/ISPaster/paste/view/29b154194be94f3dabb04d93697fcd85
Fawe Version
FastAsyncWorldEdit-166
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?
No response