|
@@ -137,6 +137,7 @@ public class RecommendationSystem {
|
|
|
|
|
|
if (!isBonusTaskActive()) {
|
|
|
_player.debugFeature("RecBonus", "Not stopping task because it is not started.");
|
|
|
+ _player.sendPacket(new ExVoteSystemInfo(_player));
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -236,6 +237,11 @@ public class RecommendationSystem {
|
|
|
return _recomLeft;
|
|
|
}
|
|
|
|
|
|
+ /** @return Whether the recommendation bonus timer is paused */
|
|
|
+ public boolean isBonusPaused() {
|
|
|
+ return _recoBonusPeacePause || _recoBonusOtherPause.get() > 0;
|
|
|
+ }
|
|
|
+
|
|
|
/** @return Whether the recommendation bonus end timer was scheduled */
|
|
|
public boolean isBonusTaskActive() {
|
|
|
return _recoBonusTask != null && !_recoBonusTask.isCancelled() && !_recoBonusTask.isDone();
|