fixed essence mining when multiple people are mining (#349)

This commit is contained in:
MitchvanWijngaarden
2020-01-07 23:56:53 +01:00
committed by Daniel Ginovker
parent cad66fdcc8
commit c48b2575e9
@@ -275,7 +275,6 @@ public class Mining {
if (i != 2491) {
new Object(452, x, y, 0, type, 10, i, respawnTime);
Region.addObject(452, x, y, 0, 10, type, false);
}
for (int t = 0; t < PlayerHandler.players.length; t++) {
if (PlayerHandler.players[t] != null) {
@@ -288,6 +287,7 @@ public class Mining {
}
}
}
}
public static void prospectRock(final Player player, final String itemName) {
if (player.tutorialProgress == 15 || player.tutorialProgress == 16) {