Sync with L2jServer HighFive Apr 1st 2015.

This commit is contained in:
MobiusDev
2015-04-02 04:12:06 +00:00
parent 8300183361
commit 1abccfcae0
26 changed files with 283 additions and 248 deletions

View File

@ -92,7 +92,7 @@ public final class RequestDuelStart extends L2GameClientPacket
if (_partyDuel == 1)
{
// Player must be in a party & the party leader
if (!activeChar.isInParty() || !(activeChar.isInParty() && activeChar.getParty().isLeader(activeChar)))
if (!activeChar.isInParty() || !activeChar.getParty().isLeader(activeChar))
{
activeChar.sendMessage("You have to be the leader of a party in order to request a party duel.");
return;

View File

@ -67,7 +67,7 @@ public class RequestSetCastleSiegeTime extends L2GameClientPacket
_log.log(Level.WARNING, getType() + ": activeChar: " + activeChar + " castle: " + castle + " castleId: " + _castleId + " is trying to change siege date but is not clan leader!");
return;
}
else if (!castle.getIsTimeRegistrationOver() && !castle.getIsTimeRegistrationOver())
else if (!castle.getIsTimeRegistrationOver())
{
if (isSiegeTimeValid(castle.getSiegeDate().getTimeInMillis(), _time))
{