This commit is contained in:
ZeroEpoch1969 2019-07-20 12:56:28 -07:00
parent 7a4b044d45
commit 635316dcd2
No known key found for this signature in database
GPG Key ID: A7BAB4E14F089CF3

View File

@ -220,9 +220,9 @@ public class Command_saconfig extends FreedomCommand
MasterBuilder masterBuilder = plugin.mbl.getMasterBuilder(player);
admin.setDiscordID(plugin.mbl.getMasterBuilder(player).getDiscordID());
}
else if (plugin.pv.getVerificationPlayer(admin.getName()) != null)
else if (plugin.pv.getVerificationPlayer(player.getName()) != null)
{
VPlayer vPlayer = plugin.pv.getVerificationPlayer(admin.getName());
VPlayer vPlayer = plugin.pv.getVerificationPlayer(player.getName());
if (vPlayer.getDiscordId() != null)
{
admin.setDiscordID(vPlayer.getDiscordId());