Store recommendations to avoid reseting them with Nevit peace zone check.
This commit is contained in:
parent
58cf9cc61e
commit
066eca1ac4
@ -335,6 +335,9 @@ public class AdminEditChar implements IAdminCommandHandler
|
|||||||
}
|
}
|
||||||
player.sendMessage("A GM changed your Recommend points to " + recVal);
|
player.sendMessage("A GM changed your Recommend points to " + recVal);
|
||||||
activeChar.sendMessage(player.getName() + "'s Recommend changed to " + recVal);
|
activeChar.sendMessage(player.getName() + "'s Recommend changed to " + recVal);
|
||||||
|
|
||||||
|
// Store player recommendations to avoid reseting them with Nevit peace zone check.
|
||||||
|
player.storeRecommendations(false);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -98,7 +98,7 @@ public class RequestVoteNew implements IClientIncomingPacket
|
|||||||
sm.addPcName(player);
|
sm.addPcName(player);
|
||||||
target.sendPacket(sm);
|
target.sendPacket(sm);
|
||||||
|
|
||||||
player.sendPacket(new UserInfo(player));
|
client.sendPacket(new UserInfo(player));
|
||||||
client.sendPacket(new ExBrExtraUserInfo(player));
|
client.sendPacket(new ExBrExtraUserInfo(player));
|
||||||
target.broadcastUserInfo();
|
target.broadcastUserInfo();
|
||||||
|
|
||||||
@ -107,5 +107,8 @@ public class RequestVoteNew implements IClientIncomingPacket
|
|||||||
player.sendPacket(new ExVoteSystemInfo(player));
|
player.sendPacket(new ExVoteSystemInfo(player));
|
||||||
target.sendPacket(new ExVoteSystemInfo(target));
|
target.sendPacket(new ExVoteSystemInfo(target));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Store player recommendations to avoid reseting them with Nevit peace zone check.
|
||||||
|
target.storeRecommendations(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user