mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-12-29 12:37:53 +01:00
Fixes #905
This commit is contained in:
parent
21e976ce4d
commit
371b4f5ee5
@ -122,7 +122,7 @@ public class FaweNukkit implements IFawe, Listener {
|
||||
@EventHandler
|
||||
public void onPlayerQuit(PlayerQuitEvent event) {
|
||||
Player player = event.getPlayer();
|
||||
FawePlayer fp = FawePlayer.wrap(player);
|
||||
FawePlayer fp = Fawe.get().getCachedPlayer(player.getName());
|
||||
if (fp != null) {
|
||||
fp.unregister();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user