Minor code optimizations.

This commit is contained in:
MobiusDev
2015-07-13 13:55:34 +00:00
parent 97ba8260fa
commit 53b32c4b98
6 changed files with 6 additions and 7 deletions

View File

@ -815,7 +815,7 @@ public final class Stage1 extends Quest
@Override
public String onAggroRangeEnter(L2Npc npc, L2PcInstance player, boolean isSummon)
{
if ((isSummon == false) && (player != null))
if (!isSummon && (player != null))
{
InstanceWorld tmpworld = InstanceManager.getInstance().getWorld(player.getInstanceId());
if (tmpworld instanceof SOD1World)