mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-31 01:15:57 -04:00
Fixed error when NPCs heal
This commit is contained in:
@@ -942,7 +942,7 @@ public class CombatService implements INetworkDispatch {
|
||||
if(success && !applySpecialCost(healer, weapon, command))
|
||||
success = false;
|
||||
|
||||
if(!success) {
|
||||
if(!success && healer.getClient() != null) {
|
||||
IoSession session = healer.getClient().getSession();
|
||||
CommandEnqueueRemove commandRemove = new CommandEnqueueRemove(healer.getObjectId(), actionCounter);
|
||||
session.write(new ObjControllerMessage(0x0B, commandRemove).serialize());
|
||||
|
||||
Reference in New Issue
Block a user