Skip to content

Commit

Permalink
fix: System.out to log.warn for ItemAndLastUpdated
Browse files Browse the repository at this point in the history
Co-Authored-By: pajlada <962989+pajlada@users.noreply.github.com>
  • Loading branch information
Zoinkwiz and pajlada committed Nov 22, 2024
1 parent c6e2787 commit 85ff2b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@
import com.questhelper.requirements.item.TrackedContainers;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import net.runelite.api.Item;
import javax.annotation.Nullable;

import java.util.concurrent.Callable;

@Slf4j
public class ItemAndLastUpdated
{
@Getter
Expand Down Expand Up @@ -65,7 +67,7 @@ public void update(int updateTick, Item[] items)
return methodToObtainItems.call();
} catch (Exception e)
{
System.out.println("Failed to load container from method");
log.warn("Failed to load container from method");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,15 @@
*/
package com.questhelper.requirements.var;

import com.questhelper.questhelpers.QuestHelper;
import com.questhelper.requirements.AbstractRequirement;
import com.questhelper.requirements.util.Operation;
import java.math.BigInteger;
import java.util.Locale;
import java.util.function.Predicate;
import java.util.function.ToIntBiFunction;

import com.questhelper.util.Utils;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
import net.runelite.api.Client;
import net.runelite.api.Varbits;
import net.runelite.client.util.Text;

import javax.annotation.Nonnull;

Expand Down

0 comments on commit 85ff2b4

Please sign in to comment.