mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-02 03:15:52 -04:00
Weapons - getDamageType() now returns a cleaner string
This commit is contained in:
@@ -124,7 +124,7 @@ public class WeaponObject extends TangibleObject {
|
||||
}
|
||||
|
||||
public String getDamageType() {
|
||||
return getStringAttribute("cat_wpn_damage.wpn_damage_type");
|
||||
return getStringAttribute("cat_wpn_damage.wpn_damage_type").replace("@obj_attr_n:armor_eff_", "");
|
||||
}
|
||||
|
||||
public void setDamageType(String damageType) {
|
||||
|
||||
Reference in New Issue
Block a user