package com.wundero.HushNow;

import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.scheduler.BukkitRunnable;

public class Timer extends BukkitRunnable {

	public int time = 120;
	private Hush hush;
	private Player player;
	private CommandSender sender;
	private boolean all;
	private int ID;
	
	public Timer(Hush h, Player p, CommandSender s, boolean b, int t)
	{
		this.hush = h;
		this.player = p;
		this.sender = s;
		this.all = b;
		this.time = t;
	}
	
	public void setID(int i)
	{
		this.ID = i;
	}
	
	public int getID()
	{
		return ID;
	}
	
	@Override
	public void run() {
		
		if(time==0)
		{
			hush.stopTimer(player, sender, all, ID);
		}
		
		time--;
	}
	

}

@@ -191,32 +191,8 @@
  %7B%0A%0A
-%09public int time = 120;%0A
 %09pri
@@ -207,16 +207,16 @@
 h hush;%0A
+
 %09private
@@ -365,15 +365,8 @@
 an b
-, int t
 )%0A%09%7B
@@ -441,25 +441,8 @@
  b;%0A
-%09%09this.time = t;%0A
 %09%7D%0A%09
@@ -570,30 +570,8 @@
 %7B%0A%09%09
-%0A%09%09if(time==0)%0A%09%09%7B%0A%09%09%09
 hush
@@ -611,25 +611,8 @@
 D);%0A
-%09%09%7D%0A%09%09%0A%09%09time--;%0A
 %09%7D%0A%09

Update Timer.java