Debug messages for PoisonShock
This commit is contained in:
parent
dd5b2d5e3f
commit
8b42de03cb
@ -377,9 +377,22 @@ public class ConditionEffect implements Listener
|
|||||||
if (condition == null || condition.GetSource() == null)
|
if (condition == null || condition.GetSource() == null)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
Manager.getDamagerManager().NewDamageEvent(ent, condition.GetSource(), null,
|
try
|
||||||
DamageCause.CUSTOM, 0.1, false, true, false,
|
{
|
||||||
condition.GetSource() != null ? condition.GetSource().getName() : "The Mighty Defek7", "Poison");
|
Manager.getDamagerManager().NewDamageEvent(ent, condition.GetSource(), null,
|
||||||
|
DamageCause.CUSTOM, 0.1, false, true, false,
|
||||||
|
condition.GetSource() != null ? condition.GetSource().getName() : "The Mighty Defek7", "Poison");
|
||||||
|
}
|
||||||
|
catch (Exception exception)
|
||||||
|
{
|
||||||
|
System.out.println("__+Poison error+__");
|
||||||
|
System.out.println("Manager null? : " + Manager == null);
|
||||||
|
System.out.println("Manager.getDamagerManager null? : " + Manager.getDamagerManager() == null);
|
||||||
|
System.out.println("condition.GetSource() null? : " + condition.GetSource() == null);
|
||||||
|
System.out.println("condition.GetSource().getName() null? : " + condition.GetSource().getName() == null);
|
||||||
|
|
||||||
|
throw exception;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user