mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-16 06:13:45 -04:00
fixed friend list deltas
This commit is contained in:
@@ -7,6 +7,8 @@ def setup():
|
||||
def run(core, actor, target, commandString):
|
||||
actorFaction = actor.getFaction()
|
||||
|
||||
print 'test'
|
||||
|
||||
if commandString == ('imperial') and actorFaction != "imperial":
|
||||
actor.setFaction('imperial')
|
||||
actor.sendSystemMessage('You are aligned to the Imperial faction', 0)
|
||||
@@ -21,4 +23,6 @@ def run(core, actor, target, commandString):
|
||||
actor.setFaction('neutral')
|
||||
actor.sendSystemMessage('You aren\'t aligned to any faction.', 0)
|
||||
return
|
||||
return
|
||||
|
||||
return
|
||||
|
||||
@@ -7,4 +7,5 @@ def run(core, actor, target, commandString):
|
||||
ghost = actor.getSlottedObject('ghost')
|
||||
chatSvc = core.chatService
|
||||
chatSvc.removeFriend(ghost, commandString, 1)
|
||||
return
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user