Removed AbnormalType check at stopSkillEffects.

This commit is contained in:
MobiusDev
2017-11-30 20:01:55 +00:00
parent 40e9334845
commit a76cf0ad7c
5 changed files with 5 additions and 25 deletions

View File

@@ -446,11 +446,7 @@ public final class CharEffectList
*/
public void stopSkillEffects(boolean removed, Skill skill)
{
// Check for existing abnormal type of the skill to make things quicker. None abnormal type should also work.
if ((skill != null) && hasAbnormalType(skill.getAbnormalType()))
{
stopSkillEffects(removed, skill.getId());
}
stopSkillEffects(removed, skill.getId());
}
/**

View File

@@ -446,11 +446,7 @@ public final class CharEffectList
*/
public void stopSkillEffects(boolean removed, Skill skill)
{
// Check for existing abnormal type of the skill to make things quicker. None abnormal type should also work.
if ((skill != null) && hasAbnormalType(skill.getAbnormalType()))
{
stopSkillEffects(removed, skill.getId());
}
stopSkillEffects(removed, skill.getId());
}
/**

View File

@@ -446,11 +446,7 @@ public final class CharEffectList
*/
public void stopSkillEffects(boolean removed, Skill skill)
{
// Check for existing abnormal type of the skill to make things quicker. None abnormal type should also work.
if ((skill != null) && hasAbnormalType(skill.getAbnormalType()))
{
stopSkillEffects(removed, skill.getId());
}
stopSkillEffects(removed, skill.getId());
}
/**

View File

@@ -446,11 +446,7 @@ public final class CharEffectList
*/
public void stopSkillEffects(boolean removed, Skill skill)
{
// Check for existing abnormal type of the skill to make things quicker. None abnormal type should also work.
if ((skill != null) && hasAbnormalType(skill.getAbnormalType()))
{
stopSkillEffects(removed, skill.getId());
}
stopSkillEffects(removed, skill.getId());
}
/**

View File

@@ -446,11 +446,7 @@ public final class CharEffectList
*/
public void stopSkillEffects(boolean removed, Skill skill)
{
// Check for existing abnormal type of the skill to make things quicker. None abnormal type should also work.
if ((skill != null) && hasAbnormalType(skill.getAbnormalType()))
{
stopSkillEffects(removed, skill.getId());
}
stopSkillEffects(removed, skill.getId());
}
/**