refactor(mover): 🔊 improve debug logging code
This commit is contained in:
		| @@ -11,10 +11,9 @@ let movements = [] | ||||
|  | ||||
|  | ||||
| function initMoves(bot = bot, mcData = bot.mcData) { | ||||
|     console.info(movements) | ||||
|     if (movements.length > 0) { | ||||
|         bot.pathfinder.setMovements(movements.defaultMove) | ||||
|         return console.warn("movements already initialized!") | ||||
|         return console.warn("go init: movements already initialized!", movements) | ||||
|     } | ||||
|     let defaultMove = new Movements(bot, mcData) | ||||
|     defaultMove.canDig = false | ||||
|   | ||||
		Reference in New Issue
	
	Block a user