GuildType lookup work

This commit is contained in:
2024-04-28 12:40:53 -05:00
parent 1876e09b48
commit 72172b9f05
4 changed files with 5 additions and 77 deletions
+1 -1
View File
@@ -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;