Skip to content

Commit

Permalink
Update src/main/java/codes/cookies/mod/features/misc/PartyCommandsFea…
Browse files Browse the repository at this point in the history
…ture.java

Co-authored-by: Moritz <59416038+Morazzer@users.noreply.github.com>
  • Loading branch information
GrahamKracker and Morazzer authored Dec 25, 2024
1 parent 2ebd53f commit 9f4205a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ public PartyCommand(Supplier<Boolean> predicate, BiConsumer<String, String> acti
public static class DownTimeCommand extends PartyCommand {
private final ArrayList<DownTimeAction> downTimesThisInstance = new ArrayList<>();

public DownTimeCommand(Supplier<Boolean> predicate, BiConsumer<String, String> action) {
super(predicate, action);
public DownTimeCommand(Supplier<Boolean> predicate) {
super(predicate, null);
ChatMessageEvents.BEFORE_MODIFY.register((text, b) -> {
if (b) return;
var message = CookiesUtils.stripColor(text.getString());
Expand Down

0 comments on commit 9f4205a

Please sign in to comment.