mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-07 16:49:07 +00:00
fixed essence mining when multiple people are mining (#349)
This commit is contained in:
committed by
Daniel Ginovker
parent
cad66fdcc8
commit
c48b2575e9
@@ -275,7 +275,6 @@ public class Mining {
|
|||||||
if (i != 2491) {
|
if (i != 2491) {
|
||||||
new Object(452, x, y, 0, type, 10, i, respawnTime);
|
new Object(452, x, y, 0, type, 10, i, respawnTime);
|
||||||
Region.addObject(452, x, y, 0, 10, type, false);
|
Region.addObject(452, x, y, 0, 10, type, false);
|
||||||
}
|
|
||||||
|
|
||||||
for (int t = 0; t < PlayerHandler.players.length; t++) {
|
for (int t = 0; t < PlayerHandler.players.length; t++) {
|
||||||
if (PlayerHandler.players[t] != null) {
|
if (PlayerHandler.players[t] != null) {
|
||||||
@@ -288,6 +287,7 @@ public class Mining {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public static void prospectRock(final Player player, final String itemName) {
|
public static void prospectRock(final Player player, final String itemName) {
|
||||||
if (player.tutorialProgress == 15 || player.tutorialProgress == 16) {
|
if (player.tutorialProgress == 15 || player.tutorialProgress == 16) {
|
||||||
|
|||||||
Reference in New Issue
Block a user