diff --git a/src/engine/net/client/msg/guild/GuildInfoMsg.java b/src/engine/net/client/msg/guild/GuildInfoMsg.java index f81f4f06..92e48dcc 100644 --- a/src/engine/net/client/msg/guild/GuildInfoMsg.java +++ b/src/engine/net/client/msg/guild/GuildInfoMsg.java @@ -373,7 +373,7 @@ class GuildInfoMessageType5 extends GuildInfoMessageType { if(pc != null && g != null && g.getObjectUUID() != 0) { Guild n = g.getNation(); if(n == null) { - n = Guild.getErrantNation(); + n = Guild.getErrantGuild(); } writer.putInt(ago.getObjectType().ordinal()); @@ -412,7 +412,7 @@ class GuildInfoMessageType5 extends GuildInfoMessageType { writer.putInt(GuildStatusController.getTitle(pc.getGuildStatus())); //Title writer.putInt(g.getCharter()); - if(g.getNation().equals(Guild.getErrantNation())) + if(g.getNation().equals(Guild.getErrantGuild())) writer.putString("Errant"); else writer.putString("City"); diff --git a/src/engine/objects/Guild.java b/src/engine/objects/Guild.java index 74a16c48..bfc98f76 100644 --- a/src/engine/objects/Guild.java +++ b/src/engine/objects/Guild.java @@ -725,18 +725,12 @@ Guild.serializeForClientMsg(guild,writer, null, false); public static Guild getErrantGuild() { - return Guild.getErrantNation(); - } - - public static Guild getErrantNation() { if (Guild.errant == null) Guild.errant = new Guild("None", null, 10, "Despot Rule", GuildTag.ERRANT, 0); + return Guild.errant; } - /* - * Game Object Manager - */ public static Guild getGuild(final int objectUUID) { if (objectUUID == 0)