mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-31 01:15:57 -04:00
Fixed null exception
This commit is contained in:
@@ -478,7 +478,7 @@ public class CommandService implements INetworkDispatch {
|
||||
return;
|
||||
}
|
||||
|
||||
if(command.getHitType() == 0 && command.getBuffNameSelf().length() > 0) {
|
||||
if(command.getHitType() == 0 && command.getBuffNameSelf() != null && command.getBuffNameSelf().length() > 0) {
|
||||
core.combatService.doSelfBuff(attacker, weapon, command, actionCounter);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user