Advertisement
riking

Untitled

May 1st, 2014
604
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.49 KB | None | 0 0
  1. @@ -318,6 +318,9 @@ public class CharacterManager {
  2.  
  3.              while ((dSkill = delayedSkillQueue.poll()) != null) {
  4.                  hero = dSkill.getHero();
  5. +                if (!dSkill.isReady()) {
  6. +                    new Exception("DelayedSkill polled but is not Ready").printStackTrace();
  7. +                }
  8.                  try {
  9.                      dSkill.getSkill().execute(dSkill.getPlayer(), dSkill.getIdentifier(), dSkill.getArgs());
  10.                  } catch (final Exception e) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement