Guild & Alliances Patches
As reported by J0k3r613, patched guild system not recognizing properly the guild leader just after creation. Patched many more issues related to guilds and alliances.
This commit is contained in:
@@ -5939,7 +5939,7 @@ public class MaplePacketCreator {
|
||||
mplew.writeInt(alliance.getCapacity()); // probably capacity
|
||||
mplew.writeShort(0);
|
||||
for (Integer guildd : alliance.getGuilds()) {
|
||||
getGuildInfo(mplew, Server.getInstance().getGuild(guildd, c.getWorld(), c.getPlayer()));
|
||||
getGuildInfo(mplew, Server.getInstance().getGuild(guildd, c.getWorld()));
|
||||
}
|
||||
return mplew.getPacket();
|
||||
}
|
||||
@@ -5950,7 +5950,7 @@ public class MaplePacketCreator {
|
||||
mplew.write(0x0D);
|
||||
mplew.writeInt(alliance.getGuilds().size());
|
||||
for (Integer guild : alliance.getGuilds()) {
|
||||
getGuildInfo(mplew, Server.getInstance().getGuild(guild, worldId, null));
|
||||
getGuildInfo(mplew, Server.getInstance().getGuild(guild, worldId));
|
||||
}
|
||||
return mplew.getPacket();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user