Fixed infinite loop at clanhall siege.
Contributed by Sahar.
This commit is contained in:
parent
84c278bd3a
commit
31015ab789
@ -146,8 +146,10 @@ public abstract class ClanHallSiegeEngine extends Quest implements Siegable
|
||||
{
|
||||
if (_guards != null)
|
||||
{
|
||||
_guards.forEach(guard -> guard.startRespawn());
|
||||
return;
|
||||
}
|
||||
|
||||
_guards = new ArrayList<>();
|
||||
try (Connection con = DatabaseFactory.getConnection();
|
||||
PreparedStatement ps = con.prepareStatement(SQL_LOAD_GUARDS))
|
||||
|
@ -146,8 +146,10 @@ public abstract class ClanHallSiegeEngine extends Quest implements Siegable
|
||||
{
|
||||
if (_guards != null)
|
||||
{
|
||||
_guards.forEach(guard -> guard.startRespawn());
|
||||
return;
|
||||
}
|
||||
|
||||
_guards = new ArrayList<>();
|
||||
try (Connection con = DatabaseFactory.getConnection();
|
||||
PreparedStatement ps = con.prepareStatement(SQL_LOAD_GUARDS))
|
||||
|
Loading…
Reference in New Issue
Block a user