Start work on the protection and penalties. First up is Block Place

This commit is contained in:
graywolf336
2014-01-19 14:40:39 -06:00
parent d9d0de046d
commit 95649e7f03
7 changed files with 71 additions and 0 deletions

View File

@ -85,6 +85,15 @@ public class Prisoner {
this.time = time;
}
/**
* Adds the given time to the remaining time the prisoner has left.
*
* @param time to add to the prisoner's remaining time.
*/
public void addTime(long time) {
this.time += time;
}
/** Gets whether the player is offline or not. */
public boolean isOfflinePending() {
return this.offlinePending;