use of com.solinia.solinia.Models.SoliniaGroup in project solinia3-core by mixxit.
the class CoreState method createNewGroup.
public ISoliniaGroup createNewGroup(Player leader) {
UUID newgroupid = UUID.randomUUID();
SoliniaGroup group = new SoliniaGroup();
group.setId(newgroupid);
group.setOwner(leader.getUniqueId());
group.getMembers().add(leader.getUniqueId());
groups.put(newgroupid, group);
return groups.get(newgroupid);
}
Aggregations