Update config\ChatBots

This commit is contained in:
BruceChen 2022-10-18 10:02:43 +08:00
parent 51742c5606
commit eb51f72fb8
3 changed files with 2 additions and 84 deletions

View file

@ -77,7 +77,7 @@ class MineCube : ChatBot
// Skip this block if it can not be mined.
if (Material2Tool.IsUnbreakable(mineLocationMaterial)) { continue; }
if (Settings.InventoryHandling && toolHandling)
if (GetInventoryEnabled() && toolHandling)
{
// Search this tool in hotbar and select the correct slot
SelectCorrectSlotInHotbar(
@ -182,7 +182,7 @@ class MineCube : ChatBot
waitForMoveToLocation(mineLocation, maxOffset: 4, minOffset:3);
// Is inventoryhandling activated?
if (Settings.InventoryHandling && toolHandling)
if (GetInventoryEnabled() && toolHandling)
{
// Search this tool in hotbar and select the correct slot
SelectCorrectSlotInHotbar(