mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-03 04:16:19 -04:00
Fixed issue with skillMod deduction
This commit is contained in:
@@ -127,7 +127,7 @@ public class SkillModService implements INetworkDispatch {
|
||||
synchronized(creature.getMutex()) {
|
||||
SkillMod skillMod = creature.getSkillMods().get(name);
|
||||
|
||||
if (skillMod == null || base <= 0 || modifier <= 0) {
|
||||
if (skillMod == null || (base <= 0 && modifier <= 0)) {
|
||||
return;
|
||||
} else {
|
||||
skillMod.deductBase(base);
|
||||
|
||||
Reference in New Issue
Block a user