From ebf9674d30d026d1bcf17220de402a59fe1815d4 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Tue, 6 Sep 2022 21:12:27 +0800 Subject: add ping when divan solver finds solution --- features/mining/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/features/mining/index.js b/features/mining/index.js index 74f23a3..55031c9 100644 --- a/features/mining/index.js +++ b/features/mining/index.js @@ -242,6 +242,10 @@ class Mining extends Feature { return } + if (this.predictedChestLocations.length === 0) { + World.playSound("note.pling", 100, 2) + } + this.predictedChestLocations.push([this.baseCoordinates[0] - coordinates[0], this.baseCoordinates[1] - coordinates[1], this.baseCoordinates[2] - coordinates[2]]) } }); -- cgit