Files
Holocore/scripts/commands/generic/groupUninvite.js
T
Skyler Lehan 223505257d Fixed issues in PR #229
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
2016-06-19 20:06:51 -04:00

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();
}