Fixed Guild Creation

Fixed a bug on guild creation process where the leadership would not be
assigned instantly to the guild leader (would need to change channels or
reconnect to take effect).
This commit is contained in:
ronancpl
2017-06-12 14:53:11 -03:00
parent 9ab79f216a
commit 7a8bba98ca
42 changed files with 71 additions and 51 deletions

View File

@@ -3730,8 +3730,6 @@ public class MaplePacketCreator {
if (g == null) { //failed to read from DB - don't show a guild
mplew.write(0);
return mplew.getPacket();
} else {
c.setGuildRank(c.getGuildRank());
}
mplew.write(1); //bInGuild
mplew.writeInt(g.getId());