Sync with L2jServer HighFive Mar 1st 2015.

This commit is contained in:
mobius
2015-03-01 22:48:14 +00:00
parent f14af24b41
commit 6fa0ed56e3
116 changed files with 971 additions and 676 deletions

View File

@ -58,7 +58,7 @@ public final class HeadquarterCreate extends AbstractEffect
public void onStart(BuffInfo info)
{
final L2PcInstance player = info.getEffector().getActingPlayer();
if ((player.getClan() == null) || (player.getClan().getLeaderId() != player.getObjectId()))
if (!player.isClanLeader())
{
return;
}