From c780454b7888b00683f3e4b9047ab0d8a77ad6eb Mon Sep 17 00:00:00 2001 From: Leijurv Date: Tue, 14 Aug 2018 15:42:59 -0700 Subject: [PATCH] comment --- src/main/java/baritone/bot/pathing/movement/ActionCosts.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/baritone/bot/pathing/movement/ActionCosts.java b/src/main/java/baritone/bot/pathing/movement/ActionCosts.java index 79069d50..d21b9384 100644 --- a/src/main/java/baritone/bot/pathing/movement/ActionCosts.java +++ b/src/main/java/baritone/bot/pathing/movement/ActionCosts.java @@ -44,5 +44,9 @@ public interface ActionCosts extends ActionCostsButOnlyTheOnesThatMakeMickeyDieI */ double PLACE_ONE_BLOCK_COST = 20; + /** + * don't make this Double.MAX_VALUE because it's added to other things, maybe other COST_INFs, + * and that would make it overflow to negative + */ double COST_INF = 1000000; }