Water of Life + Fixed GPQ & Buff system
Added Water of Life. Fixed Shuang (GPQ) npc dc'ing the leader when first trying to enter the waiting area. Fixed some cases with the revamped buff system, that would not properly check for the best buffs in some scenarios, and would throw exceptions, caused by not properly protecting access to critical data.
This commit is contained in:
@@ -28,11 +28,11 @@ import server.MapleStatEffect;
|
||||
* @author Danny
|
||||
*/
|
||||
public class PlayerBuffValueHolder {
|
||||
public long startTime;
|
||||
public int usedTime;
|
||||
public MapleStatEffect effect;
|
||||
|
||||
public PlayerBuffValueHolder(long startTime, MapleStatEffect effect) {
|
||||
this.startTime = startTime;
|
||||
public PlayerBuffValueHolder(int usedTime, MapleStatEffect effect) {
|
||||
this.usedTime = usedTime;
|
||||
this.effect = effect;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user