GuildType lookup work
This commit is contained in:
@@ -968,7 +968,7 @@ public class Guild extends AbstractWorldObject {
|
||||
|
||||
public GuildCharterType getGuildType() {
|
||||
try {
|
||||
return GuildCharterType.values()[this.charter];
|
||||
return GuildCharterType.templateLookup.get(this.charter);//GuildCharterType.values()[this.charter];
|
||||
} catch (Exception e) {
|
||||
Logger.error(e);
|
||||
return GuildCharterType.NONE;
|
||||
|
||||
Reference in New Issue
Block a user