mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-07-31 01:15:50 -04:00
groupMakeMasterLooter.js/groupUninvite.js - Fixed issues with unnecessary spaces GroupObject - fixed unnecessary line breaks - refactored loot rule from an int into an enum - fixed sub int spacing - fixed name on getLeaderId GroupService - fixed ScheduledExecutorService so that there is only one, and it spawns threads and puts the Future in the map of CreatureObject to Future - changed types for logoffTimers to a map - commented out the loot stuff for now - refactored a good chunk of handleInvite to another method
6 lines
294 B
JavaScript
6 lines
294 B
JavaScript
function executeCommand(galacticManager, player, target, args) {
|
|
var GroupEventIntent = Java.type("intents.GroupEventIntent");
|
|
var GroupEventType = Java.type("intents.GroupEventIntent.GroupEventType");
|
|
new GroupEventIntent(GroupEventType.GROUP_UNINVITE, player, target).broadcast();
|
|
}
|