no more .get 😎

This commit is contained in:
Leijurv
2019-03-04 21:30:04 -08:00
parent 459720c348
commit 8050b69f2f
38 changed files with 137 additions and 137 deletions

View File

@@ -55,7 +55,7 @@ public class ToolSet {
breakStrengthCache = new HashMap<>();
this.player = player;
if (Baritone.settings().considerPotionEffects.get()) {
if (Baritone.settings().considerPotionEffects.value) {
double amplifier = potionAmplifier();
Function<Double, Double> amplify = x -> amplifier * x;
backendCalculation = amplify.compose(this::getBestDestructionTime);