From 400467ca8ccc4b4de58e5edca758797e47ebe1a8 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Wed, 11 Apr 2018 14:54:44 +0000 Subject: [PATCH] Fixed admin spawn command hanging client. --- .../java/com/l2jmobius/gameserver/model/L2Spawn.java | 2 +- .../java/com/l2jmobius/gameserver/model/L2Spawn.java | 2 +- .../java/com/l2jmobius/gameserver/model/L2Spawn.java | 2 +- .../java/com/l2jmobius/gameserver/model/L2Spawn.java | 2 +- .../java/com/l2jmobius/gameserver/model/L2Spawn.java | 2 +- .../java/com/l2jmobius/gameserver/model/L2Spawn.java | 2 +- .../java/com/l2jmobius/gameserver/model/L2Spawn.java | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/L2Spawn.java b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/L2Spawn.java index 696a52ce2e..1c4206d658 100644 --- a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/L2Spawn.java +++ b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/L2Spawn.java @@ -71,7 +71,7 @@ public class L2Spawn implements IPositionable, IIdentifiable, INamable /** The generic constructor of L2NpcInstance managed by this L2Spawn */ private Constructor _constructor; /** If True a L2NpcInstance is respawned each time that another is killed */ - private boolean _doRespawn; + private boolean _doRespawn = true; /** If true then spawn is custom */ private final Deque _spawnedNpcs = new ConcurrentLinkedDeque<>(); private boolean _randomWalk = false; // Is no random walk diff --git a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/L2Spawn.java b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/L2Spawn.java index 696a52ce2e..1c4206d658 100644 --- a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/L2Spawn.java +++ b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/L2Spawn.java @@ -71,7 +71,7 @@ public class L2Spawn implements IPositionable, IIdentifiable, INamable /** The generic constructor of L2NpcInstance managed by this L2Spawn */ private Constructor _constructor; /** If True a L2NpcInstance is respawned each time that another is killed */ - private boolean _doRespawn; + private boolean _doRespawn = true; /** If true then spawn is custom */ private final Deque _spawnedNpcs = new ConcurrentLinkedDeque<>(); private boolean _randomWalk = false; // Is no random walk diff --git a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/L2Spawn.java b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/L2Spawn.java index 696a52ce2e..1c4206d658 100644 --- a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/L2Spawn.java +++ b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/L2Spawn.java @@ -71,7 +71,7 @@ public class L2Spawn implements IPositionable, IIdentifiable, INamable /** The generic constructor of L2NpcInstance managed by this L2Spawn */ private Constructor _constructor; /** If True a L2NpcInstance is respawned each time that another is killed */ - private boolean _doRespawn; + private boolean _doRespawn = true; /** If true then spawn is custom */ private final Deque _spawnedNpcs = new ConcurrentLinkedDeque<>(); private boolean _randomWalk = false; // Is no random walk diff --git a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/L2Spawn.java b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/L2Spawn.java index 696a52ce2e..1c4206d658 100644 --- a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/L2Spawn.java +++ b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/L2Spawn.java @@ -71,7 +71,7 @@ public class L2Spawn implements IPositionable, IIdentifiable, INamable /** The generic constructor of L2NpcInstance managed by this L2Spawn */ private Constructor _constructor; /** If True a L2NpcInstance is respawned each time that another is killed */ - private boolean _doRespawn; + private boolean _doRespawn = true; /** If true then spawn is custom */ private final Deque _spawnedNpcs = new ConcurrentLinkedDeque<>(); private boolean _randomWalk = false; // Is no random walk diff --git a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/L2Spawn.java b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/L2Spawn.java index 8d76596e90..ee93c39008 100644 --- a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/L2Spawn.java +++ b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/L2Spawn.java @@ -77,7 +77,7 @@ public class L2Spawn implements IPositionable, IIdentifiable, INamable /** The generic constructor of L2NpcInstance managed by this L2Spawn */ private Constructor _constructor; /** If True a L2NpcInstance is respawned each time that another is killed */ - private boolean _doRespawn; + private boolean _doRespawn = true; private static List _spawnListeners = new CopyOnWriteArrayList<>(); private final Deque _spawnedNpcs = new ConcurrentLinkedDeque<>(); private Map _lastSpawnPoints; diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/L2Spawn.java b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/L2Spawn.java index 696a52ce2e..1c4206d658 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/L2Spawn.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/L2Spawn.java @@ -71,7 +71,7 @@ public class L2Spawn implements IPositionable, IIdentifiable, INamable /** The generic constructor of L2NpcInstance managed by this L2Spawn */ private Constructor _constructor; /** If True a L2NpcInstance is respawned each time that another is killed */ - private boolean _doRespawn; + private boolean _doRespawn = true; /** If true then spawn is custom */ private final Deque _spawnedNpcs = new ConcurrentLinkedDeque<>(); private boolean _randomWalk = false; // Is no random walk diff --git a/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/model/L2Spawn.java b/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/model/L2Spawn.java index 696a52ce2e..1c4206d658 100644 --- a/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/model/L2Spawn.java +++ b/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/model/L2Spawn.java @@ -71,7 +71,7 @@ public class L2Spawn implements IPositionable, IIdentifiable, INamable /** The generic constructor of L2NpcInstance managed by this L2Spawn */ private Constructor _constructor; /** If True a L2NpcInstance is respawned each time that another is killed */ - private boolean _doRespawn; + private boolean _doRespawn = true; /** If true then spawn is custom */ private final Deque _spawnedNpcs = new ConcurrentLinkedDeque<>(); private boolean _randomWalk = false; // Is no random walk