FastAsyncWorldEdit

FastAsyncWorldEdit

152k Downloads

Plugin stops working after creating a schematic and exiting the server while losing op on quit.

ch4ika opened this issue ยท 0 comments

commented

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

  1. Join the server and run the following commands.
  2. //pos1
  3. //pos2
  4. //copy
  5. //schematic save hellow_test
  6. 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

Anything else?

No response