Unused and duplicate variable removed.

This commit is contained in:
2023-08-18 11:33:27 -04:00
parent b3bed58a4b
commit 3883963225
5 changed files with 54 additions and 60 deletions
+2 -4
View File
@@ -12,7 +12,6 @@ package engine.db.handlers;
import engine.gameManager.DbManager;
import engine.objects.Mob;
import engine.objects.Zone;
import engine.server.MBServerStatics;
import org.joda.time.DateTime;
import org.pmw.tinylog.Logger;
@@ -122,10 +121,9 @@ public class dbMobHandler extends dbHandlerBase {
if (toCreate == null)
return;
if (toCreate != null) {
toCreate.setTimeToSpawnSiege(System.currentTimeMillis() + MBServerStatics.FIFTEEN_MINUTES);
if (toCreate != null)
toCreate.setDeathTime(System.currentTimeMillis());
}
}
} catch (SQLException e) {