mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-12 22:45:31 -04:00
Added null check for removing skillMods
This commit is contained in:
@@ -604,7 +604,9 @@ public class CreatureObject extends TangibleObject implements IPersistent {
|
||||
}
|
||||
|
||||
public void removeSkillMod(SkillMod mod) {
|
||||
skillMods.remove(mod.getName());
|
||||
if (mod != null) {
|
||||
skillMods.remove(mod.getName());
|
||||
}
|
||||
}
|
||||
|
||||
public float getSpeedMultiplierBase() {
|
||||
|
||||
Reference in New Issue
Block a user