forked from MagicBane/Server
rename method to isEmptyGuild() so as not to confuse with GuildState.
This commit is contained in:
@@ -100,7 +100,7 @@ public class GuildTreeStatusMsg extends ClientNetMsg {
|
||||
canAccess = this.canModify();
|
||||
canBind = 0;
|
||||
|
||||
if (player.getGuild() != null && this.treeOfLife.getGuild() != null && !this.treeOfLife.getGuild().isErrant()
|
||||
if (player.getGuild() != null && this.treeOfLife.getGuild() != null && !this.treeOfLife.getGuild().isEmptyGuild()
|
||||
&& player.getGuild().getNation() == this.treeOfLife.getGuild().getNation())
|
||||
canBind = 1;
|
||||
|
||||
|
||||
@@ -644,7 +644,7 @@ public class OpenFriendsCondemnListMsg extends ClientNetMsg {
|
||||
writer.putInt(guild.getObjectType().ordinal());
|
||||
writer.putInt(guild.getObjectUUID());
|
||||
|
||||
if (!guild.getNation().isErrant()) {
|
||||
if (!guild.getNation().isEmptyGuild()) {
|
||||
writer.putInt(guild.getNation().getObjectType().ordinal());
|
||||
writer.putInt(guild.getNation().getObjectUUID());
|
||||
}else{
|
||||
@@ -741,7 +741,7 @@ public class OpenFriendsCondemnListMsg extends ClientNetMsg {
|
||||
writer.putInt(heraldryCharacter.getGuild().getObjectType().ordinal());
|
||||
writer.putInt(heraldryCharacter.getGuild().getObjectUUID());
|
||||
|
||||
if (!heraldryCharacter.getGuild().getNation().isErrant()) {
|
||||
if (!heraldryCharacter.getGuild().getNation().isEmptyGuild()) {
|
||||
writer.putInt(heraldryCharacter.getGuild().getNation().getObjectType().ordinal());
|
||||
writer.putInt(heraldryCharacter.getGuild().getNation().getObjectUUID());
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user