From 337b77aa50db6b4a159795827623d36acccbdcc4 Mon Sep 17 00:00:00 2001 From: Roman / Linnea Gräf Date: Fri, 9 Dec 2022 13:19:54 +0100 Subject: Katting (#447) Co-authored-by: nea Co-authored-by: nea Co-authored-by: nea Co-authored-by: nea Co-authored-by: nea Co-authored-by: nea Co-authored-by: nea --- .../github/moulberry/notenoughupdates/miscfeatures/ItemCooldowns.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/ItemCooldowns.java') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/ItemCooldowns.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/ItemCooldowns.java index 4fc63734..ee5eef9e 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/ItemCooldowns.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/ItemCooldowns.java @@ -104,7 +104,7 @@ public class ItemCooldowns { pet.petType.equalsIgnoreCase("monkey") && pet.rarity.equals(PetInfoOverlay.Rarity.LEGENDARY) ) { - return 2000 - (int) (2000 * (0.005 * (int) pet.petLevel.level)); + return 2000 - (int) (2000 * (0.005 * pet.petLevel.getCurrentLevel())); } } return 2000; -- cgit