You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PlayerLevels-API/src/main/java/net/jandie1505/playerlevels/core/rewards/IntervalRewardData.java
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,6 @@
10
10
* This data is normally created by the reward creator for the specific reward type, like {@link CommandReward#createInterval(String, boolean, CommandReward.SenderType, Component, int, int, int)}.<br/>
11
11
* It can be used to create events using {@link net.jandie1505.playerlevels.api.core.reward.RewardsManager#addIntervalReward(RewardConfig, IntervalRewardData)}.
12
12
* @param executor the code that will be executed when the reward is applied
13
-
* @param customCondition a custom condition when the reward counts as applied (apart from the level condition)
14
13
* @param descriptionProvider Provides a description for the reward.
15
14
* @param requiresPlayerOnline if the player is required to be online that the reward is applied
16
15
* @param start the level where from which the interval calculation starts
"A throwable which is not an exception has been thrown in isApplied from reward " + IntervalReward.this.getId() + " to player " + leveler.getPlayerUUID() + " " +
55
-
"The reward has been disabled for safety reasons. DO NOT IGNORE THIS!",
56
-
t
57
-
);
58
-
returnfalse;
59
-
}
38
+
// The Condition is not met when the reward has already been applied for the level
0 commit comments