public void update() 
	{
		if (upgraded)
		{
			initiateCloaking();
			upgraded = false;
		}
		
		if (active) //If cloaking
		{
			forceCloakTimer++;
			
			forceCloak = (forceCloakTimer >= 10);
			
			cloakBlocks();
			
			cloakedDuration += (MachineFactoryPlugin.CLOAKER_UPDATE_CYCLE / MachineFactoryPlugin.TICKS_PER_SECOND);
			if (cloakedDuration >= getProperties().getFuelTimeDuration())
			{
				cloakedDuration = 0;
				
				if (fuelAvailable())
				{
					removeFuel();	
				}
				else
				{
					powerOff();
				}
			}
			
			if (forceCloak)
			{
				forceCloak = false;
				forceCloakTimer = 0;
			}
		}
		else // If not cloaking
		{

		}
	}