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

Open
opened 2023-12-18 05:30:44 +00:00 by fwsjl · 0 comments
Member

/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 2023-12-18 05:32:49 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MagicBane/Server#28