mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 08:39:04 +00:00
Mining Fixes | Yell Command Fix (#420)
* Fixed Yell Command * Added Mining Sounds. Fixed Addy and Mith Pickages.
This commit is contained in:
@@ -37,8 +37,8 @@ public class Mining {
|
||||
{1265, 1, 1, 625}, //Bronze
|
||||
{1267, 1, 2, 626}, //Iron
|
||||
{1269, 6, 3, 627}, //Steel
|
||||
{1271, 31, 5, 629}, //Addy
|
||||
{1273, 21, 4, 628}, //Mithril
|
||||
{1273, 21, 4, 629}, //Mithril
|
||||
{1271, 31, 5, 628}, //Addy
|
||||
{1275, 41, 6, 624}, //Rune
|
||||
};
|
||||
|
||||
@@ -158,6 +158,7 @@ public class Mining {
|
||||
public void execute(CycleEventContainer container) {
|
||||
if (c.isMining) {
|
||||
c.startAnimation(Pick_Settings[c.miningAxe][3]);
|
||||
c.getPacketSender().sendSound(432, 100, 0);
|
||||
} else {
|
||||
container.stop();
|
||||
}
|
||||
@@ -202,6 +203,7 @@ public class Mining {
|
||||
}
|
||||
|
||||
player.startAnimation(Pick_Settings[player.miningAxe][3]);
|
||||
player.getPacketSender().sendSound(432, 100, 0);
|
||||
player.isMining = true;
|
||||
repeatAnimation(player);
|
||||
player.rockX = objectX;
|
||||
|
||||
@@ -54,7 +54,7 @@ public class Commands implements PacketType {
|
||||
if (player.playerRights <= 1) {
|
||||
delay = 30000;
|
||||
}
|
||||
if (!AntiSpam.blockedWords(player, playerCommand.substring(5), true)) {
|
||||
if (!AntiSpam.blockedWords(player, arguments[0].substring(5), true)) {
|
||||
return;
|
||||
}
|
||||
if (Connection.isMuted(player)) {
|
||||
|
||||
Reference in New Issue
Block a user