Command update - Mining. Also fixed typo on new Herbalism permission.

This commit is contained in:
GJ
2012-05-01 10:39:50 -04:00
parent f7405a82e6
commit 44d22d93da
6 changed files with 132 additions and 76 deletions

View File

@ -285,8 +285,8 @@ public class BlastMining {
}
/* Send message to nearby players */
for(Player y : player.getWorld().getPlayers()) {
if(y != player && Misc.isNear(player.getLocation(), y.getLocation(), MAX_DISTANCE_AWAY)) {
for (Player y : player.getWorld().getPlayers()) {
if (y != player && Misc.isNear(player.getLocation(), y.getLocation(), MAX_DISTANCE_AWAY)) {
y.sendMessage(ability.getAbilityPlayer(player));
}
}