Skip to content

Commit

Permalink
Use double for heal rate in config.
Browse files Browse the repository at this point in the history
  • Loading branch information
wendall911 committed May 25, 2018
1 parent 7baaa2d commit 2ea7d7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/tinkersurvival/config/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static class Balance {
public static double GRASS_FIBER_CHANCE = 0.5D;

@Comment("Heal rate for bandages. Crude bandages are 50% less effective.")
public static float HEAL_RATE = 0.14f;
public static double HEAL_RATE = 0.14D;
}

public static Features features;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

public class StopBleeding extends PotionBase {

static final float HEAL_RATE = Config.Balance.HEAL_RATE;
static final float HEAL_RATE = (float)Config.Balance.HEAL_RATE;

public StopBleeding() {
super("stopbleeding", false, 0xf7b7ad);
Expand Down

0 comments on commit 2ea7d7e

Please sign in to comment.