From a76cf0ad7cca2c861e475151aa7b26290c590e44 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Thu, 30 Nov 2017 20:01:55 +0000 Subject: [PATCH] Removed AbnormalType check at stopSkillEffects. --- .../java/com/l2jmobius/gameserver/model/CharEffectList.java | 6 +----- .../java/com/l2jmobius/gameserver/model/CharEffectList.java | 6 +----- .../java/com/l2jmobius/gameserver/model/CharEffectList.java | 6 +----- .../java/com/l2jmobius/gameserver/model/CharEffectList.java | 6 +----- .../java/com/l2jmobius/gameserver/model/CharEffectList.java | 6 +----- 5 files changed, 5 insertions(+), 25 deletions(-) diff --git a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/CharEffectList.java b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/CharEffectList.java index 794ddacf72..7be7f3cb10 100644 --- a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/CharEffectList.java +++ b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/CharEffectList.java @@ -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()); } /** diff --git a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/CharEffectList.java b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/CharEffectList.java index 794ddacf72..7be7f3cb10 100644 --- a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/CharEffectList.java +++ b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/CharEffectList.java @@ -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()); } /** diff --git a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/CharEffectList.java b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/CharEffectList.java index 794ddacf72..7be7f3cb10 100644 --- a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/CharEffectList.java +++ b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/CharEffectList.java @@ -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()); } /** diff --git a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/CharEffectList.java b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/CharEffectList.java index 794ddacf72..7be7f3cb10 100644 --- a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/CharEffectList.java +++ b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/CharEffectList.java @@ -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()); } /** diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/CharEffectList.java b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/CharEffectList.java index 794ddacf72..7be7f3cb10 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/CharEffectList.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/CharEffectList.java @@ -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()); } /**