Rename and clean up MapleGuildSummary
This commit is contained in:
@@ -333,7 +333,7 @@ public class Guild {
|
||||
if (bcop == BCOp.DISBAND) {
|
||||
Server.getInstance().getWorld(world).setGuildAndRank(notifications.get(b), 0, 5, exceptionId);
|
||||
} else if (bcop == BCOp.EMBLEMCHANGE) {
|
||||
Server.getInstance().getWorld(world).changeEmblem(this.id, notifications.get(b), new MapleGuildSummary(this));
|
||||
Server.getInstance().getWorld(world).changeEmblem(this.id, notifications.get(b), new GuildSummary(this));
|
||||
} else {
|
||||
Server.getInstance().getWorld(world).sendPacket(notifications.get(b), packet, exceptionId);
|
||||
}
|
||||
|
||||
@@ -21,15 +21,15 @@
|
||||
*/
|
||||
package net.server.guild;
|
||||
|
||||
public class MapleGuildSummary {
|
||||
private String name;
|
||||
private short logoBG;
|
||||
private byte logoBGColor;
|
||||
private short logo;
|
||||
private byte logoColor;
|
||||
private int allianceId;
|
||||
public class GuildSummary {
|
||||
private final String name;
|
||||
private final short logoBG;
|
||||
private final byte logoBGColor;
|
||||
private final short logo;
|
||||
private final byte logoColor;
|
||||
private final int allianceId;
|
||||
|
||||
public MapleGuildSummary(Guild g) {
|
||||
public GuildSummary(Guild g) {
|
||||
this.name = g.getName();
|
||||
this.logoBG = (short) g.getLogoBG();
|
||||
this.logoBGColor = (byte) g.getLogoBGColor();
|
||||
Reference in New Issue
Block a user