S_Miner: stop skipping rocks that have players beside them.

absolutely necessary on Uranium.
This commit is contained in:
stormy committed 2024-02-06 14:58:27 +01:00
1 parent 2feae7731b
commit 45e02a66b1
1 file changed
+3 -2
+3 -2
View File
@@ -923,9 +923,10 @@ public final class S_Miner extends Script
System.currentTimeMillis() < dont_remine) {
continue;
}
if (is_player_beside(rock_x, rock_y)) {
// disabled for Uranium
/*if (is_player_beside(rock_x, rock_y)) {
continue;
}
}*/
int dist = Math.abs(rock_x - my_x) +
Math.abs(rock_y - my_y);
if (dist < 30 && dist < best_dist) {