Refactor mining, add all the rocks and ores (#104)

* add blurite ore

* update randomness

* remove randomness

* refactor mining

* add gems
This commit is contained in:
Danial
2019-10-25 17:08:53 +13:00
committed by Daniel Ginovker
parent b5c2a8fa59
commit 20135d096f
4 changed files with 149 additions and 215 deletions
@@ -62,7 +62,7 @@ public class ClickObject implements PacketType {
player.resetWalkingQueue();
break;
}
if (Mining.rockExists(player, player.objectId)) {
if (Mining.rockExists(player.objectId)) {
player.objectDistance = 5;
}
if (Woodcutting.playerTrees(player, player.objectId)) {