Skip to content
Snippets Groups Projects
Commit d84bb58e authored by Zealar's avatar Zealar
Browse files

Fix NPE on Dark Cloud Mansion when try to enter with admin and don't got

party

Reported by : valanths1990
parent 0243389c
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,6 @@ import java.util.concurrent.ConcurrentHashMap; ...@@ -28,7 +28,6 @@ import java.util.concurrent.ConcurrentHashMap;
import com.l2jserver.gameserver.instancemanager.InstanceManager; import com.l2jserver.gameserver.instancemanager.InstanceManager;
import com.l2jserver.gameserver.model.L2Party; import com.l2jserver.gameserver.model.L2Party;
import com.l2jserver.gameserver.model.Location; import com.l2jserver.gameserver.model.Location;
import com.l2jserver.gameserver.model.PcCondOverride;
import com.l2jserver.gameserver.model.actor.L2Npc; import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.entity.Instance; import com.l2jserver.gameserver.model.entity.Instance;
...@@ -242,7 +241,7 @@ public final class DarkCloudMansion extends AbstractInstance ...@@ -242,7 +241,7 @@ public final class DarkCloudMansion extends AbstractInstance
@Override @Override
protected boolean checkConditions(L2PcInstance player) protected boolean checkConditions(L2PcInstance player)
{ {
if (debug || player.canOverrideCond(PcCondOverride.INSTANCE_CONDITIONS)) if (debug)
{ {
return true; return true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment