Guild PQ + fixed negative EXP error
Implemented Guild PQ. Fixed a problem introduced earlier where negative EXP would be deemed as "integer overflow", provoking many game breaking issues as result.
This commit is contained in:
@@ -540,7 +540,7 @@ public class MapleGuild {
|
||||
this.gp += amount;
|
||||
this.writeToDB(false);
|
||||
this.guildMessage(MaplePacketCreator.updateGP(this.id, this.gp));
|
||||
this.guildMessage(MaplePacketCreator.getGPMessage(amount));
|
||||
this.guildMessage(MaplePacketCreator.getGPMessage(amount));
|
||||
}
|
||||
|
||||
public void removeGP(int amount){
|
||||
|
||||
Reference in New Issue
Block a user