diff --git a/common/src/main/java/me/lucko/luckperms/common/webeditor/WebEditorResponse.java b/common/src/main/java/me/lucko/luckperms/common/webeditor/WebEditorResponse.java index 2515924c7..5b1b43805 100644 --- a/common/src/main/java/me/lucko/luckperms/common/webeditor/WebEditorResponse.java +++ b/common/src/main/java/me/lucko/luckperms/common/webeditor/WebEditorResponse.java @@ -287,7 +287,13 @@ public class WebEditorResponse { User user = this.plugin.getStorage().loadUser(uuid, null).join(); if (user == null) { - return false; + try { + this.plugin.getStorage().deletePlayerData(uuid).get(); + } catch (Exception e) { + e.printStackTrace(); + Message.DELETE_ERROR.send(this.sender, uuid.toString()); + } + return true; } if (ArgumentPermissions.checkModifyPerms(this.plugin, this.sender, CommandPermission.APPLY_EDITS, user)) {