GuildType lookup work

This commit is contained in:
FatBoy committed 2024-04-28 12:40:53 -05:00
1 parent 1876e09b48
commit 72172b9f05
4 files changed
+5 -77

No files matched your search

+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;