mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2026-06-05 02:46:54 +00:00
Unlinkdiscord saves changes (#116)
* Unlinkdiscord saves changes * Unlinkdiscord saves changes
This commit is contained in:
@@ -31,6 +31,7 @@ public class Command_unlinkdiscord extends FreedomCommand
|
||||
return true;
|
||||
}
|
||||
admin.setDiscordID(null);
|
||||
plugin.al.save();
|
||||
msg("Your Minecraft account has been successfully unlinked from the Discord account.", ChatColor.GREEN);
|
||||
return true;
|
||||
}
|
||||
@@ -44,6 +45,7 @@ public class Command_unlinkdiscord extends FreedomCommand
|
||||
}
|
||||
data.setDiscordId(null);
|
||||
data.setEnabled(false);
|
||||
plugin.pv.saveVerificationData(data);
|
||||
msg("Your Minecraft account has been successfully unlinked from the Discord account.", ChatColor.GREEN);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user