#74 - Prospect Message / Fatigue Comment

This commit is contained in:
Rodgerwilco 2012-04-28 00:14:16 -07:00
parent 78030c3c6e
commit 136db161e1
2 changed files with 3 additions and 2 deletions

View File

@ -168,7 +168,7 @@ public final class Player extends Mob {
private int[] exp = new int[18];
/**
* Amount of fatigue - 0 to 100
* Amount of fatigue - 0 to 750
*/
private int fatigue = 0;

View File

@ -62,12 +62,13 @@ public class Mining implements ObjectListener {
}
final InvItem ore = new InvItem(def.getOreId());
if (owner.getClick() == 1) {
owner.getActionSender().sendMessage("You examine the rock for ores...");
Instance.getDelayedEventHandler()
.add(new MiniEvent(owner, 1000) {
@Override
public void action() {
owner.getActionSender().sendMessage(
"This rock contains " + ore.getDef().getName() + ".");
"This rock contains " + ore.getDef().getName());
}
});
return;