And we try this again, because wtf??

This commit is contained in:
RealIndrit 2020-08-13 23:20:30 +02:00
parent 2b6fe188ed
commit 2ed3e10833

View File

@ -432,7 +432,7 @@ public interface MovementHelper extends ActionCosts, Helper {
* @param ts previously calculated ToolSet
*/
static void switchToBestToolFor(IPlayerContext ctx, IBlockState b, ToolSet ts, boolean preferSilkTouch) {
if(Baritone.settings().autoTool.value){
if (Baritone.settings().autoTool.value) {
ctx.player().inventory.currentItem = ts.getBestSlot(b.getBlock(), preferSilkTouch);
}
}