mirror of
https://github.com/bdnugget/APOS.git
synced 2026-11-07 08:47:27 +00:00
S_Miner: stop skipping rocks that have players beside them.
absolutely necessary on Uranium.
This commit is contained in:
1 parent
2feae7731b
commit
45e02a66b1
1 file changed
+3
-2
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user