How to modify the issue that different guilds cannot form teams and only the national system can form teams? thanks #28

Open
opened 11 months ago by fwsjl · 0 comments
fwsjl commented 11 months ago
Collaborator

/Server/src/engine/net/client/handlers/GroupInviteHandler.java
// Group is new, create it.

    if (group == null)
        group = GroupInviteHandler.createGroup(source, origin);

    if (group == null)
        return false;

    if (!group.isGroupLead(source)) // person doing invite must be group lead>
        return true;

Excuse me, is this statement added here?
if(!source.guild.nation.equals(target.guild.nation)
return false;

/Server/src/engine/net/client/handlers/GroupInviteHandler.java // Group is new, create it. if (group == null) group = GroupInviteHandler.createGroup(source, origin); if (group == null) return false; if (!group.isGroupLead(source)) // person doing invite must be group lead> return true; Excuse me, is this statement added here? if(!source.guild.nation.equals(target.guild.nation) return false;
fwsjl changed title from How to solve the problem of different guilds not being able to form teams? Thank you! to How to modify the issue that different guilds cannot form teams and only the national system can form teams? thanks 11 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.