|
|
@ -327,7 +327,7 @@ public enum CombatManager { |
|
|
|
if (timers != null) { |
|
|
|
if (timers != null) { |
|
|
|
AttackJob aj = new AttackJob(attacker, slot.ordinal(), true); |
|
|
|
AttackJob aj = new AttackJob(attacker, slot.ordinal(), true); |
|
|
|
JobContainer job; |
|
|
|
JobContainer job; |
|
|
|
job = JobScheduler.getInstance().scheduleJob(aj, (delay + 1)); // offset 1 millisecond so no overlap issue
|
|
|
|
job = JobScheduler.getInstance().scheduleJob(aj, (System.currentTimeMillis() + delay + 1)); // offset 1 millisecond so no overlap issue
|
|
|
|
timers.put("Attack" + slot, job); |
|
|
|
timers.put("Attack" + slot, job); |
|
|
|
} else |
|
|
|
} else |
|
|
|
Logger.error("Unable to find Timers for Character " + attacker.getObjectUUID()); |
|
|
|
Logger.error("Unable to find Timers for Character " + attacker.getObjectUUID()); |
|
|
|