GuildType lookup work
This commit is contained in:
1 parent
1876e09b48
commit
72172b9f05
4 files changed
+5
-77
No files matched your search
@@ -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