forked from MagicBane/Server
Charter template id is stored not ordinal
This commit is contained in:
@@ -96,7 +96,7 @@ public class GuildCreationFinalizeHandler extends AbstractClientMsgHandler {
|
||||
|
||||
int leadershipType = ((msg.getICVoteFlag() << 1) | msg.getMemberVoteFlag());
|
||||
|
||||
newGuild = new Guild(msg.getName(), null, charterType.ordinal(),
|
||||
newGuild = new Guild(msg.getName(), null, charterType,
|
||||
charterType.getLeadershipType(leadershipType), msg.getGuildTag(),
|
||||
StringUtils.truncate(msg.getMotto(), 120));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user