|
|
@ -102,6 +102,9 @@ public class InviteToSubHandler extends AbstractClientMsgHandler { |
|
|
|
//source guild is limited to 7 subs
|
|
|
|
//source guild is limited to 7 subs
|
|
|
|
//TODO this should be based on TOL rank
|
|
|
|
//TODO this should be based on TOL rank
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//cannot be subbed into a nation if you already have your own sub guilds
|
|
|
|
|
|
|
|
if(targetGuild.getSubGuildList() != null && targetGuild.getSubGuildList().size() > 0) |
|
|
|
|
|
|
|
return true; |
|
|
|
|
|
|
|
|
|
|
|
if (!sourceGuild.canSubAGuild(targetGuild)) { |
|
|
|
if (!sourceGuild.canSubAGuild(targetGuild)) { |
|
|
|
sendChat(source, "This Guild can't be subbed."); |
|
|
|
sendChat(source, "This Guild can't be subbed."); |
|
|
|