mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-11 21:45:43 -04:00
Merge pull request #1087 from voronius/master
Fix for 139 - bug of inspiration buff stacking
This commit is contained in:
@@ -10,13 +10,12 @@ def run(core, actor, target, commandString):
|
||||
|
||||
if not playerObject or playerObject.getProfession() != "entertainer_1a":
|
||||
return
|
||||
|
||||
if target is None or actor.getObjectId() == target.getObjectId():
|
||||
openBuffWindow = BuffBuilderStartMessage(actor.getObjectId(), actor.getObjectId(), actor.getObjectId())
|
||||
objController = ObjControllerMessage(11, openBuffWindow)
|
||||
actor.getClient().getSession().write(objController.serialize())
|
||||
return
|
||||
|
||||
|
||||
if target is None and commandString is not None:
|
||||
target = core.chatService.getObjectByFirstName(commandString)
|
||||
if target is None:
|
||||
|
||||
Reference in New Issue
Block a user