mirror of
https://bitbucket.org/projectswg/holocore.git
synced 2026-10-02 19:12:57 -04:00
9 lines
401 B
Groovy
9 lines
401 B
Groovy
import intents.GroupEventIntent
|
|
import resources.objects.SWGObject
|
|
import resources.objects.creature.CreatureObject
|
|
import resources.player.Player
|
|
import services.galaxy.GalacticManager
|
|
|
|
static def execute(GalacticManager galacticManager, Player player, SWGObject target, String args) {
|
|
new GroupEventIntent(GroupEventIntent.GroupEventType.GROUP_LEAVE, player, target as CreatureObject).broadcast()
|
|
} |