Add jail timer and jail event, count down the prisoners time.

This commit is contained in:
graywolf336
2014-01-03 14:10:38 -06:00
parent 738f8bc057
commit f5bf76ec46
9 changed files with 164 additions and 5 deletions

View File

@ -93,6 +93,8 @@ public class Util {
* @throws Exception if there are no matches
*/
public static Long getTime(String time) throws Exception {
if(time.equalsIgnoreCase("-1")) return -1L;
Long t = 10L;
Matcher match = DURATION_PATTERN.matcher(time);