Prevent adding effects on dead creatures.
This commit is contained in:
parent
0b4aa688a8
commit
91905ca592
@ -735,6 +735,12 @@ public final class CharEffectList
|
||||
return;
|
||||
}
|
||||
|
||||
// Prevent adding and initializing buffs/effects on dead creatures.
|
||||
if (info.getEffected().isDead())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (info.getSkill() == null)
|
||||
{
|
||||
// Only options are without skills.
|
||||
|
@ -735,6 +735,12 @@ public final class CharEffectList
|
||||
return;
|
||||
}
|
||||
|
||||
// Prevent adding and initializing buffs/effects on dead creatures.
|
||||
if (info.getEffected().isDead())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (info.getSkill() == null)
|
||||
{
|
||||
// Only options are without skills.
|
||||
|
@ -735,6 +735,12 @@ public final class CharEffectList
|
||||
return;
|
||||
}
|
||||
|
||||
// Prevent adding and initializing buffs/effects on dead creatures.
|
||||
if (info.getEffected().isDead())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (info.getSkill() == null)
|
||||
{
|
||||
// Only options are without skills.
|
||||
|
@ -735,6 +735,12 @@ public final class CharEffectList
|
||||
return;
|
||||
}
|
||||
|
||||
// Prevent adding and initializing buffs/effects on dead creatures.
|
||||
if (info.getEffected().isDead())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (info.getSkill() == null)
|
||||
{
|
||||
// Only options are without skills.
|
||||
|
Loading…
Reference in New Issue
Block a user