Skip to content

Commit

Permalink
add max recursion. Probs shoulda done this anyway. Also stops NEU Rec…
Browse files Browse the repository at this point in the history
…ipes that arent recipes from blowing up the game
  • Loading branch information
BigloBot committed Jun 26, 2024
1 parent 3187223 commit 77fbbf6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

public class CraftPriceTooltip extends TooltipAdder {
private final Map<String, Double> cachedCraftCosts = new HashMap<>();
private static final int MAX_RECURSION_DEPTH = 10;
private static final int MAX_RECURSION_DEPTH = 15;

public CraftPriceTooltip(int priority) {
super(priority);
Expand Down

0 comments on commit 77fbbf6

Please sign in to comment.